20 lines
481 B
Text
20 lines
481 B
Text
|
=== tests/cases/compiler/es6ImportDefaultBindingAmd_0.ts ===
|
||
|
|
||
|
var a = 10;
|
||
|
>a : number
|
||
|
|
||
|
export = a;
|
||
|
>a : number
|
||
|
|
||
|
=== tests/cases/compiler/es6ImportDefaultBindingAmd_1.ts ===
|
||
|
import defaultBinding from "es6ImportDefaultBindingAmd_0";
|
||
|
>defaultBinding : number
|
||
|
|
||
|
var x = defaultBinding;
|
||
|
>x : number
|
||
|
>defaultBinding : number
|
||
|
|
||
|
import defaultBinding2 from "es6ImportDefaultBindingAmd_0"; // elide this import since defaultBinding2 is not used
|
||
|
>defaultBinding2 : number
|
||
|
|