mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
18 lines
243 B
TypeScript
18 lines
243 B
TypeScript
// @allowJs: true
|
|
// @checkJs: true
|
|
// @outDir: out
|
|
// @declaration: true
|
|
|
|
// @filename: mod1.js
|
|
const chalk = {
|
|
grey: {}
|
|
};
|
|
module.exports.chalk = chalk
|
|
|
|
// @filename: main.js
|
|
const {
|
|
chalk: { grey }
|
|
} = require('./mod1');
|
|
grey
|
|
chalk
|