mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
556 B
TypeScript
24 lines
556 B
TypeScript
//// [tests/cases/compiler/declFileRegressionTests.ts] ////
|
|
|
|
//// [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]
|
|
"use strict";
|
|
// 'null' not converted to 'any' in d.ts
|
|
// function types not piped through correctly
|
|
var n = { w: null, x: '', y: () => { }, z: 32 };
|
|
|
|
|
|
//// [declFileRegressionTests.d.ts]
|
|
declare var n: {
|
|
w: any;
|
|
x: string;
|
|
y: () => void;
|
|
z: number;
|
|
};
|