mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
15 lines
284 B
TypeScript
15 lines
284 B
TypeScript
// @noEmit: true
|
|
// @allowJs: true
|
|
// @checkJs: true
|
|
// @Filename: axios.js
|
|
class Axios {
|
|
constructor() {
|
|
}
|
|
m() { }
|
|
}
|
|
var axios = new Axios();
|
|
// none of the 3 references should have a use-before-def error
|
|
axios.m()
|
|
module.exports = axios;
|
|
module.exports.default = axios;
|