* 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>
22 lines
551 B
TypeScript
22 lines
551 B
TypeScript
// @out: a.js
|
|
// @sourcemap: true
|
|
// @declaration: true
|
|
// @bundledPackageName: out
|
|
// @Filename: a.ts
|
|
/*--------------------------------------------------------------------------
|
|
Copyright
|
|
---------------------------------------------------------------------------*/
|
|
|
|
var x = {
|
|
a: 10,
|
|
b: 20
|
|
};
|
|
|
|
// @Filename: b.ts
|
|
/*--------------------------------------------------------------------------
|
|
Copyright
|
|
---------------------------------------------------------------------------*/
|
|
|
|
///<reference path="a.ts"/>
|
|
var y = x;
|