2015-03-23 19:06:44 +01:00
|
|
|
=== tests/cases/compiler/es6ImportDefaultBinding_0.ts ===
|
|
|
|
|
|
|
|
var a = 10;
|
2015-04-13 22:54:22 +02:00
|
|
|
>a : number, Symbol(a,Decl(es6ImportDefaultBinding_0.ts,1,3))
|
2015-04-13 21:36:11 +02:00
|
|
|
>10 : number
|
2015-03-23 19:06:44 +01:00
|
|
|
|
|
|
|
export default a;
|
2015-04-13 22:54:22 +02:00
|
|
|
>a : number, Symbol(a,Decl(es6ImportDefaultBinding_0.ts,1,3))
|
2015-03-23 19:06:44 +01:00
|
|
|
|
|
|
|
=== tests/cases/compiler/es6ImportDefaultBinding_1.ts ===
|
|
|
|
import defaultBinding from "es6ImportDefaultBinding_0";
|
2015-04-13 22:54:22 +02:00
|
|
|
>defaultBinding : number, Symbol(defaultBinding,Decl(es6ImportDefaultBinding_1.ts,0,6))
|
2015-03-23 19:06:44 +01:00
|
|
|
|
|
|
|
var x = defaultBinding;
|
2015-04-13 22:54:22 +02:00
|
|
|
>x : number, Symbol(x,Decl(es6ImportDefaultBinding_1.ts,1,3))
|
|
|
|
>defaultBinding : number, Symbol(defaultBinding,Decl(es6ImportDefaultBinding_1.ts,0,6))
|
2015-03-23 19:06:44 +01:00
|
|
|
|
|
|
|
import defaultBinding2 from "es6ImportDefaultBinding_0"; // elide this import since defaultBinding2 is not used
|
2015-04-13 22:54:22 +02:00
|
|
|
>defaultBinding2 : number, Symbol(defaultBinding2,Decl(es6ImportDefaultBinding_1.ts,2,6))
|
2015-03-23 19:06:44 +01:00
|
|
|
|