mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Add test
This commit is contained in:
@@ -75,3 +75,12 @@ class C8 {
|
||||
"b": number;
|
||||
0: number;
|
||||
}
|
||||
|
||||
// No strict initialization checks for abstract members
|
||||
|
||||
abstract class C9 {
|
||||
abstract a: number;
|
||||
abstract b: number | undefined;
|
||||
abstract c: number | null;
|
||||
abstract d?: number;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user