2015-10-21 01:27:13 +02:00
|
|
|
// @declaration: true
|
|
|
|
// @out: out.js
|
2020-09-11 14:12:07 +02:00
|
|
|
// @bundledPackageName: "lib"
|
2015-10-21 01:27:13 +02:00
|
|
|
|
|
|
|
// @Filename: declFile.d.ts
|
|
|
|
declare module M {
|
|
|
|
declare var x;
|
|
|
|
declare function f();
|
|
|
|
|
|
|
|
declare module N { }
|
|
|
|
|
|
|
|
declare class C { }
|
|
|
|
}
|
|
|
|
|
|
|
|
// @Filename: client.ts
|
|
|
|
///<reference path="declFile.d.ts"/>
|
|
|
|
var x = new M.C(); // Declaration file wont get emitted because there are errors in declaration file
|