TS: Add test case to DeclBeforeUse

This commit is contained in:
Asger Feldthaus
2020-02-07 16:32:11 +00:00
parent 8d58aad0f2
commit 260b243c28

View File

@@ -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 {}