Closed
Description
π Search Terms
type, value, .d.ts, circular, circularity, invalid, output, declaration
π Version & Regression Information
- This changed between versions 5.4 and 5.5
β― Playground Link
π» Code
export const descriptions = {
foo: "bar"
}
export type descriptions = typeof descriptions
π Actual behavior
Actual .d.ts output:
export declare const descriptions: typeof descriptions;
export type descriptions = typeof descriptions;
π Expected behavior
Expected .d.ts output:
export declare const descriptions: {
foo: string;
};
export type descriptions = typeof descriptions;
Additional information about the issue
No response