mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Add test
This commit is contained in:
+9
@@ -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