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

13 lines
230 B
TypeScript
Raw Normal View History

// @allowJs: true
// @checkJs: true
// @outDir: ./out
// @target: es6
// @declaration: true
// @filename: index.js
export const colors = {
royalBlue: "#6400e4",
};
export const brandColors = {
purple: colors.royalBlue,
};