TypeScript/tests/baselines/reference/declFileRegressionTests.types
2014-08-15 14:37:48 -07:00

14 lines
427 B
Plaintext

=== tests/cases/compiler/declFileRegressionTests.ts ===
// 'null' not converted to 'any' in d.ts
// function types not piped through correctly
var n = { w: null, x: '', y: () => { }, z: 32 };
>n : { w: any; x: string; y: () => void; z: number; }
>{ w: null, x: '', y: () => { }, z: 32 } : { w: null; x: string; y: () => void; z: number; }
>w : any
>x : string
>y : () => void
>() => { } : () => void
>z : number