TypeScript/tests/baselines/reference/declFileRegressionTests.js

21 lines
484 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [declFileRegressionTests.ts]
// 'null' not converted to 'any' in d.ts
// function types not piped through correctly
var n = { w: null, x: '', y: () => { }, z: 32 };
//// [declFileRegressionTests.js]
// 'null' not converted to 'any' in d.ts
// function types not piped through correctly
var n = { w: null, x: '', y: function () { }, z: 32 };
2014-07-13 01:04:16 +02:00
//// [declFileRegressionTests.d.ts]
2014-07-12 01:36:06 +02:00
declare var n: {
w: any;
x: string;
y: () => void;
z: number;
};