mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
26 lines
900 B
Plaintext
26 lines
900 B
Plaintext
//// [tests/cases/compiler/declarationEmitTransitiveImportOfHtmlDeclarationItem.ts] ////
|
|
|
|
=== foo.d.html.ts ===
|
|
export declare class CustomHtmlRepresentationThing {}
|
|
>CustomHtmlRepresentationThing : Symbol(CustomHtmlRepresentationThing, Decl(foo.d.html.ts, 0, 0))
|
|
|
|
=== reexporter.ts ===
|
|
import { CustomHtmlRepresentationThing } from "./foo.html";
|
|
>CustomHtmlRepresentationThing : Symbol(CustomHtmlRepresentationThing, Decl(reexporter.ts, 0, 8))
|
|
|
|
export function func() {
|
|
>func : Symbol(func, Decl(reexporter.ts, 0, 59))
|
|
|
|
return new CustomHtmlRepresentationThing();
|
|
>CustomHtmlRepresentationThing : Symbol(CustomHtmlRepresentationThing, Decl(reexporter.ts, 0, 8))
|
|
}
|
|
|
|
=== index.ts ===
|
|
import { func } from "./reexporter";
|
|
>func : Symbol(func, Decl(index.ts, 0, 8))
|
|
|
|
export const c = func();
|
|
>c : Symbol(c, Decl(index.ts, 1, 12))
|
|
>func : Symbol(func, Decl(index.ts, 0, 8))
|
|
|