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