refactor: Introduce explicit-member-accessibility lint rule (#12325)

This commit is contained in:
Iván Ovejero
2024-12-20 11:44:01 +01:00
committed by GitHub
parent e5587ff11f
commit 95db031aa4
27 changed files with 59 additions and 56 deletions

View File

@@ -53,7 +53,7 @@ describe('Memoized Decorator', () => {
class InvalidClass {
// @ts-expect-error this code will fail at compile time and at runtime
@Memoized
public normalProperty = 42;
normalProperty = 42;
}
new InvalidClass();
}).toThrow(AssertionError);