TypeScript/tests/baselines/reference/declFileRegressionTests.types
2015-04-15 16:44:20 -07:00

17 lines
470 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
>null : null
>x : string
>'' : string
>y : () => void
>() => { } : () => void
>z : number
>32 : number