mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 06:05:02 +03:00
18 lines
250 B
TypeScript
18 lines
250 B
TypeScript
|
// @filename: exportConsts.ts
|
||
|
// @strict: true
|
||
|
export { x }
|
||
|
export { x as xx }
|
||
|
export default x;
|
||
|
|
||
|
const x = 'x'
|
||
|
|
||
|
export { Y as Z }
|
||
|
class Y {}
|
||
|
|
||
|
// @filename: exportVars.ts
|
||
|
// @strict: true
|
||
|
export { y }
|
||
|
export { y as yy }
|
||
|
export default y;
|
||
|
var y = 'y'
|