- 
                Notifications
    
You must be signed in to change notification settings  - Fork 13.1k
 
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue
Milestone
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
riordanpawley and kristiannotariadrian-gierakowski and kristiannotari
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptFix AvailableA PR has been opened for this issueA PR has been opened for this issue