mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 22:22:34 +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()
|