mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
250 B
TypeScript
12 lines
250 B
TypeScript
// @module: commonjs
|
|
// @declaration: true
|
|
// @filename: a.ts
|
|
type SomeTypeAlias = { x: string };
|
|
class Foo {}
|
|
export = Foo;
|
|
export { SomeTypeAlias };
|
|
// @filename: b.ts
|
|
import { SomeTypeAlias } from "./a";
|
|
const value: SomeTypeAlias = { x: "ok" };
|
|
|