mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
28 lines
527 B
TypeScript
28 lines
527 B
TypeScript
//// [tests/cases/conformance/jsdoc/declarations/jsDeclarationsConstsAsNamespacesWithReferences.ts] ////
|
|
|
|
//// [index.js]
|
|
export const colors = {
|
|
royalBlue: "#6400e4",
|
|
};
|
|
|
|
export const brandColors = {
|
|
purple: colors.royalBlue,
|
|
};
|
|
|
|
//// [index.js]
|
|
export const colors = {
|
|
royalBlue: "#6400e4",
|
|
};
|
|
export const brandColors = {
|
|
purple: colors.royalBlue,
|
|
};
|
|
|
|
|
|
//// [index.d.ts]
|
|
export declare const colors: {
|
|
royalBlue: string;
|
|
};
|
|
export declare const brandColors: {
|
|
purple: string;
|
|
};
|