cdafb7157b
* 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>
38 lines
1 KiB
Plaintext
38 lines
1 KiB
Plaintext
=== tests/cases/compiler/index.ts ===
|
|
export * from "./nested";
|
|
No type information for this code.
|
|
No type information for this code.=== tests/cases/compiler/nested/base.ts ===
|
|
import { B } from "./shared";
|
|
>B : typeof B
|
|
|
|
export function f() {
|
|
>f : () => B
|
|
|
|
return new B();
|
|
>new B() : B
|
|
>B : typeof B
|
|
}
|
|
|
|
=== tests/cases/compiler/nested/derived.ts ===
|
|
import { f } from "./base";
|
|
>f : () => import("tests/cases/compiler/index").B
|
|
|
|
export function g() {
|
|
>g : () => import("tests/cases/compiler/index").B
|
|
|
|
return f();
|
|
>f() : import("tests/cases/compiler/index").B
|
|
>f : () => import("tests/cases/compiler/index").B
|
|
}
|
|
|
|
=== tests/cases/compiler/nested/index.ts ===
|
|
export * from "./base";
|
|
No type information for this code.
|
|
No type information for this code.export * from "./derived";
|
|
No type information for this code.export * from "./shared";
|
|
No type information for this code.
|
|
No type information for this code.=== tests/cases/compiler/nested/shared.ts ===
|
|
export class B {}
|
|
>B : B
|
|
|