TypeScript/tests/baselines/reference/declFileRegressionTests.types
2014-09-10 12:58:30 -07:00

14 lines
428 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 : null
>x : string
>y : () => void
>() => { } : () => void
>z : number