mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
604 B
Plaintext
20 lines
604 B
Plaintext
//// [tests/cases/conformance/externalModules/typeOnly/mergedWithLocalValue.ts] ////
|
|
|
|
=== a.ts ===
|
|
export type A = "a";
|
|
>A : Symbol(A, Decl(a.ts, 0, 0))
|
|
|
|
=== b.ts ===
|
|
import type { A } from "./a";
|
|
>A : Symbol(A, Decl(b.ts, 0, 13), Decl(b.ts, 1, 5))
|
|
|
|
const A: A = "a";
|
|
>A : Symbol(A, Decl(b.ts, 0, 13), Decl(b.ts, 1, 5))
|
|
>A : Symbol(A, Decl(b.ts, 0, 13), Decl(b.ts, 1, 5))
|
|
|
|
A.toUpperCase();
|
|
>A.toUpperCase : Symbol(String.toUpperCase, Decl(lib.es5.d.ts, --, --))
|
|
>A : Symbol(A, Decl(b.ts, 0, 13), Decl(b.ts, 1, 5))
|
|
>toUpperCase : Symbol(String.toUpperCase, Decl(lib.es5.d.ts, --, --))
|
|
|