swc/crates/swc_ecma_parser/tests/tsc/moduleExportDuplicateAlias3.ts
2022-02-04 17:08:38 +09:00

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