mirror of
https://github.com/swc-project/swc.git
synced 2024-12-24 14:16:12 +03:00
11 lines
238 B
TypeScript
11 lines
238 B
TypeScript
|
// @noEmit: true
|
||
|
// @allowJs: true
|
||
|
// @checkJs: true
|
||
|
// @Filename: mod.js
|
||
|
module.exports = function x() { }
|
||
|
module.exports() // should be callable
|
||
|
|
||
|
// @Filename: npm.js
|
||
|
var mod = require('./mod')
|
||
|
mod() // should be callable from here too
|