TypeScript/tests/baselines/reference/exportsAndImportsWithUnderscores4.types
2015-12-21 16:23:51 -08:00

110 lines
1.8 KiB
Plaintext

=== tests/cases/conformance/es6/modules/m1.ts ===
declare var console: any;
>console : any
export function _() {
>_ : () => void
console.log("_");
>console.log("_") : any
>console.log : any
>console : any
>log : any
>"_" : string
}
export function __() {
>__ : () => void
console.log("__");
>console.log("__") : any
>console.log : any
>console : any
>log : any
>"__" : string
}
export function ___() {
>___ : () => void
console.log("___");
>console.log("___") : any
>console.log : any
>console : any
>log : any
>"___" : string
}
export function _hi() {
>_hi : () => void
console.log("_hi");
>console.log("_hi") : any
>console.log : any
>console : any
>log : any
>"_hi" : string
}
export function __proto() {
>__proto : () => void
console.log("__proto");
>console.log("__proto") : any
>console.log : any
>console : any
>log : any
>"__proto" : string
}
export function __esmodule() {
>__esmodule : () => void
console.log("__esmodule");
>console.log("__esmodule") : any
>console.log : any
>console : any
>log : any
>"__esmodule" : string
}
export function ___hello(){
>___hello : () => void
console.log("___hello");
>console.log("___hello") : any
>console.log : any
>console : any
>log : any
>"___hello" : string
}
=== tests/cases/conformance/es6/modules/m2.ts ===
import {_, __, ___hello, __esmodule, __proto, _hi} from "./m1";
>_ : () => void
>__ : () => void
>___hello : () => void
>__esmodule : () => void
>__proto : () => void
>_hi : () => void
_();
>_() : void
>_ : () => void
__();
>__() : void
>__ : () => void
___hello();
>___hello() : void
>___hello : () => void
__esmodule();
>__esmodule() : void
>__esmodule : () => void
__proto();
>__proto() : void
>__proto : () => void
_hi();
>_hi() : void
>_hi : () => void