mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +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 }
|