swc/crates/swc_ecma_parser/tests/tsc/namespaceAssignmentToRequireAlias.ts

14 lines
252 B
TypeScript
Raw Normal View History

// @allowJs: true
// @checkJs: true
// @strict: true
// @outDir: out
// @declaration: true
// @filename: node_modules/untyped/index.js
module.exports = {}
// @filename: bug40140.js
const u = require('untyped');
u.assignment.nested = true
u.noError()