16 lines
289 B
Text
16 lines
289 B
Text
|
=== tests/cases/compiler/exportAssignmentVariable_B.ts ===
|
||
|
import y = require("exportAssignmentVariable_A");
|
||
|
>y : number
|
||
|
|
||
|
var n: number = y;
|
||
|
>n : number
|
||
|
>y : number
|
||
|
|
||
|
=== tests/cases/compiler/exportAssignmentVariable_A.ts ===
|
||
|
var x = 0;
|
||
|
>x : number
|
||
|
|
||
|
export = x;
|
||
|
>x : number
|
||
|
|