mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +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;
|