mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
14 lines
277 B
TypeScript
14 lines
277 B
TypeScript
|
// @checkJs: true
|
||
|
// @declaration: true
|
||
|
// @emitDeclarationOnly: true
|
||
|
// @module: commonjs
|
||
|
// @Filename: thing.js
|
||
|
'use strict';
|
||
|
class Thing {}
|
||
|
module.exports = { Thing }
|
||
|
|
||
|
// @Filename: reexport.js
|
||
|
'use strict';
|
||
|
const Thing = require('./thing').Thing
|
||
|
module.exports = { Thing }
|