17 lines
318 B
Text
17 lines
318 B
Text
=== tests/cases/compiler/moduleCodegenTest4.ts ===
|
|
export module Baz { export var x = "hello"; }
|
|
>Baz : typeof Baz
|
|
>x : string
|
|
>"hello" : string
|
|
|
|
Baz.x = "goodbye";
|
|
>Baz.x = "goodbye" : string
|
|
>Baz.x : string
|
|
>Baz : typeof Baz
|
|
>x : string
|
|
>"goodbye" : string
|
|
|
|
void 0;
|
|
>void 0 : undefined
|
|
>0 : number
|
|
|