mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
424 B
TypeScript
20 lines
424 B
TypeScript
//// [tests/cases/conformance/externalModules/typeOnly/mergedWithLocalValue.ts] ////
|
|
|
|
//// [a.ts]
|
|
export type A = "a";
|
|
|
|
//// [b.ts]
|
|
import type { A } from "./a";
|
|
const A: A = "a";
|
|
A.toUpperCase();
|
|
|
|
|
|
//// [a.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
//// [b.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const A = "a";
|
|
A.toUpperCase();
|