mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
395 B
Plaintext
18 lines
395 B
Plaintext
//// [tests/cases/compiler/emptyDeclarationEmitIsModule.ts] ////
|
|
|
|
=== module.ts ===
|
|
import * as i from "./index";
|
|
>i : Symbol(i, Decl(module.ts, 0, 6))
|
|
|
|
class Foo {}
|
|
>Foo : Symbol(Foo, Decl(module.ts, 0, 29))
|
|
|
|
=== index.ts ===
|
|
import {} from "./module";
|
|
export interface Bar {
|
|
>Bar : Symbol(Bar, Decl(index.ts, 0, 26))
|
|
|
|
x: string
|
|
>x : Symbol(Bar.x, Decl(index.ts, 1, 22))
|
|
}
|