* 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>
18 lines
383 B
TypeScript
18 lines
383 B
TypeScript
// @declaration: true
|
|
// @outFile: mylib.js
|
|
// @bundledPackageName: mylib
|
|
// @filename: extensions.ts
|
|
/// <reference no-default-lib="true"/>
|
|
class Foo {
|
|
public: string;
|
|
}
|
|
// @filename: core.ts
|
|
interface Array<T> {}
|
|
interface Boolean {}
|
|
interface Function {}
|
|
interface IArguments {}
|
|
interface Number {}
|
|
interface Object {}
|
|
interface RegExp {}
|
|
interface String {}
|