Skip to content

Commit 5afbd2c

Browse files
committed
Remove test
1 parent 3ee4e91 commit 5afbd2c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

tests/cases/compiler/enforceReadonly1.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,6 @@ class D3 extends B3 { // Error
6666
readonly x = 1;
6767
}
6868

69-
class B4 {
70-
foo() {}
71-
}
72-
73-
class D4 extends B4 { // Error
74-
readonly foo = () => {}
75-
}
76-
7769
// A const assertion means "as const as possible" without violating constraints
7870

7971
const x1 = { a: "hello", b: 42 };

0 commit comments

Comments
 (0)