mirror of
https://github.com/swc-project/swc.git
synced 2024-12-21 12:41:54 +03:00
15 lines
342 B
TypeScript
15 lines
342 B
TypeScript
|
// @checkJs: true
|
||
|
// @strict: true
|
||
|
// @declaration: true
|
||
|
// @outdir: out
|
||
|
// @filename: moduleExportAliasDuplicateAlias.js
|
||
|
module.exports.apply = undefined;
|
||
|
function a() { }
|
||
|
module.exports.apply = a;
|
||
|
module.exports.apply = a;
|
||
|
module.exports.apply()
|
||
|
|
||
|
// @filename: test.js
|
||
|
const { apply } = require('./moduleExportAliasDuplicateAlias')
|
||
|
apply()
|