* Adds support for declaring the bundled name of a dts module export Co-authored-by: Wesley Wigham <wwigham@gmail.com> * Adds baselines * Update the tests * Try to reduce the scope of the bundledPackageName error * Use the flag in more baselines * Get it green * More tests * Handle more feedback * More test cleanup * Set the moduleResolution for the tsconfigs Co-authored-by: Wesley Wigham <wwigham@gmail.com>
12 lines
207 B
TypeScript
12 lines
207 B
TypeScript
// @target: ES5
|
|
// @outFile: out.js
|
|
// @declaration: true,
|
|
// @bundledPackageName: lib
|
|
// @emitDeclarationOnly: true
|
|
|
|
// @Filename: a.ts
|
|
export class A { } // module
|
|
|
|
// @Filename: b.ts
|
|
var x = 0; // global
|