mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
418 B
Plaintext
13 lines
418 B
Plaintext
//// [tests/cases/compiler/declarationEmitInvalidExport.ts] ////
|
|
|
|
=== declarationEmitInvalidExport.ts ===
|
|
if (false) {
|
|
export var myClass = 0;
|
|
>myClass : Symbol(myClass, Decl(declarationEmitInvalidExport.ts, 1, 12))
|
|
}
|
|
export type MyClass = typeof myClass;
|
|
>MyClass : Symbol(MyClass, Decl(declarationEmitInvalidExport.ts, 2, 1))
|
|
>myClass : Symbol(myClass, Decl(declarationEmitInvalidExport.ts, 1, 12))
|
|
}
|
|
|