mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
14 lines
242 B
TypeScript
14 lines
242 B
TypeScript
// @declaration
|
|
// @outdir: out
|
|
// @checkjs: true
|
|
// @allowjs: true
|
|
// @filename: mod.js
|
|
module.exports = {
|
|
x: {
|
|
y: "value"
|
|
}
|
|
}
|
|
// @filename: requireTwoPropertyAccesses.js
|
|
const value = require("./mod").x.y
|
|
console.log(value)
|