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()
|