2014-08-15 23:33:16 +02:00
|
|
|
=== 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; }
|
2014-09-10 21:58:30 +02:00
|
|
|
>w : null
|
2014-08-15 23:33:16 +02:00
|
|
|
>x : string
|
|
|
|
>y : () => void
|
|
|
|
>() => { } : () => void
|
|
|
|
>z : number
|
|
|
|
|
|
|
|
|