19 lines
815 B
Text
19 lines
815 B
Text
=== tests/cases/compiler/es6ImportDefaultBindingAmd_0.ts ===
|
|
|
|
var a = 10;
|
|
>a : Symbol(a, Decl(es6ImportDefaultBindingAmd_0.ts, 1, 3))
|
|
|
|
export default a;
|
|
>a : Symbol(a, Decl(es6ImportDefaultBindingAmd_0.ts, 1, 3))
|
|
|
|
=== tests/cases/compiler/es6ImportDefaultBindingAmd_1.ts ===
|
|
import defaultBinding from "es6ImportDefaultBindingAmd_0";
|
|
>defaultBinding : Symbol(defaultBinding, Decl(es6ImportDefaultBindingAmd_1.ts, 0, 6))
|
|
|
|
var x = defaultBinding;
|
|
>x : Symbol(x, Decl(es6ImportDefaultBindingAmd_1.ts, 1, 3))
|
|
>defaultBinding : Symbol(defaultBinding, Decl(es6ImportDefaultBindingAmd_1.ts, 0, 6))
|
|
|
|
import defaultBinding2 from "es6ImportDefaultBindingAmd_0"; // elide this import since defaultBinding2 is not used
|
|
>defaultBinding2 : Symbol(defaultBinding2, Decl(es6ImportDefaultBindingAmd_1.ts, 2, 6))
|
|
|