mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
429 B
TypeScript
16 lines
429 B
TypeScript
//// [tests/cases/conformance/externalModules/typeOnly/exportDeclaration_moduleSpecifier-isolatedModules.ts] ////
|
|
|
|
//// [a.ts]
|
|
export type A = {};
|
|
|
|
//// [b.ts]
|
|
export type { A } from './a'; // should not error, but would without `type`
|
|
|
|
|
|
//// [a.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
//// [b.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|