-
Notifications
You must be signed in to change notification settings - Fork 13k
Open
Labels
Domain: Type DisplayBugs relating to showing types in Quick Info/Tooltips, Signature Help, or Completion InfoBugs relating to showing types in Quick Info/Tooltips, Signature Help, or Completion InfoNeeds ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.This issue needs a plan that clarifies the finer details of how it could be implemented.SuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
When a user imports a type alias like
// ./a.ts
export type Foo = number | string | symbol;
We should try to print out Foo
in error messages like in
// ./b.ts
import { Foo } from "./a.js"
let x: Foo = true;
and in declaration emit like in
// ./c.ts
import { Foo } from "./a.js"
function f(x: Foo) {
return x;
}
Soul-Master, OliverJAsh, miyaokamarina, avsorokin, Xample and 14 morekarol-majewski, OliverJAsh, miyaokamarina, theres, spencersutton and 4 more
Metadata
Metadata
Assignees
Labels
Domain: Type DisplayBugs relating to showing types in Quick Info/Tooltips, Signature Help, or Completion InfoBugs relating to showing types in Quick Info/Tooltips, Signature Help, or Completion InfoNeeds ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.This issue needs a plan that clarifies the finer details of how it could be implemented.SuggestionAn idea for TypeScriptAn idea for TypeScript