mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
TS: Add test case to DeclBeforeUse
This commit is contained in:
@@ -3,3 +3,9 @@ class Foo {}
|
||||
|
||||
declare class Bar extends Baz {} // OK
|
||||
declare class Baz {}
|
||||
|
||||
export type { I }; // OK - does not refer to the constant 'I'
|
||||
|
||||
const I = 45;
|
||||
|
||||
interface I {}
|
||||
|
||||
Reference in New Issue
Block a user