mirror of
https://github.com/swc-project/swc.git
synced 2024-12-22 21:21:31 +03:00
18 lines
421 B
TypeScript
18 lines
421 B
TypeScript
// @checkJs: true
|
|
// @strict: true
|
|
// @declaration: true
|
|
// @filename: moduleExportAliasDuplicateAlias.js
|
|
// @outdir: out
|
|
exports.apply = undefined;
|
|
exports.apply = undefined;
|
|
function a() { }
|
|
exports.apply = a;
|
|
exports.apply()
|
|
exports.apply = 'ok'
|
|
var OK = exports.apply.toUpperCase()
|
|
exports.apply = 1
|
|
|
|
// @filename: test.js
|
|
const { apply } = require('./moduleExportAliasDuplicateAlias')
|
|
const result = apply.toFixed()
|