mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +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 }
|