mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
17 lines
303 B
TypeScript
17 lines
303 B
TypeScript
|
// @allowJs: true
|
||
|
// @checkJs: true
|
||
|
// @target: es5
|
||
|
// @lib: es6
|
||
|
// @outDir: ./out
|
||
|
// @declaration: true
|
||
|
// @filename: index.js
|
||
|
const m = require("./exporter");
|
||
|
|
||
|
module.exports = m.default;
|
||
|
module.exports.memberName = "thing";
|
||
|
|
||
|
// @filename: exporter.js
|
||
|
function validate() {}
|
||
|
|
||
|
export default validate;
|