mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
18 lines
476 B
TypeScript
18 lines
476 B
TypeScript
// @declaration: true
|
|
// @target: es2015
|
|
// @module: es2015, commonjs, esnext
|
|
|
|
// @filename: 0.ts
|
|
export const a = 1;
|
|
export const b = 2;
|
|
|
|
// @filename: 1.ts
|
|
export {} from './0' assert { type: "json" }
|
|
export { a, b } from './0' assert { type: "json" }
|
|
export * from './0' assert { type: "json" }
|
|
export * as ns from './0' assert { type: "json" }
|
|
|
|
// @filename: 2.ts
|
|
export { a, b } from './0' assert {}
|
|
export { a as c, b as d } from './0' assert { a: "a", b: "b", c: "c" }
|