* Update baselines from merging with master * Update sourcemap baselines Update sourcemap baselines * Update error baselines * Update baselines as the test-cases already include --module flag with amd * Fix baselines * Update baselines from merging with master. This is a fix in master (issue #8507) and the baselines was udpated in transforms before losing in merging master
27 lines
372 B
Plaintext
27 lines
372 B
Plaintext
=== /mod2.ts ===
|
|
|
|
import {foo} from "./mod1";
|
|
>foo : () => Lib
|
|
|
|
export const bar = foo();
|
|
>bar : Lib
|
|
>foo() : Lib
|
|
>foo : () => Lib
|
|
|
|
=== /types/lib/index.d.ts ===
|
|
|
|
|
|
interface Lib { x }
|
|
>Lib : Lib
|
|
>x : any
|
|
|
|
=== /mod1.ts ===
|
|
|
|
export function foo(): Lib { return {x: 1} }
|
|
>foo : () => Lib
|
|
>Lib : Lib
|
|
>{x: 1} : { x: number; }
|
|
>x : number
|
|
>1 : number
|
|
|