test(linter): add a passing case to no_undef (#5580)

closes #2093
This commit is contained in:
Boshen 2024-09-07 11:08:26 +00:00
parent 1bc08e296e
commit 5f275516eb

View file

@ -157,6 +157,7 @@ fn test() {
"class C { static { function a() {} a; } }",
"class C { static { a; function a() {} } }",
"String;Array;Boolean;",
"function resolve<T>(path: string): T { return { path } as T; }"
];
let fail = vec![