-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingFixedA PR has been merged for this issueA PR has been merged for this issue
Milestone
Description
Discussed at #25306
We found that for "Cannot find name" errors, certain identifiers were fairly frequent:
require,map,buffer,describe,$,asyncIterator,process,symbol,module,promise
We're thinking that we can elaborate beyond the usual error message.
$=> Suggest jQuerydescribe=> Did you mean to have types for mocha, jest, etc.?process,require,module=> Suggest including Node typesSymbol,Promise,Map,Set,WeakMap,WeakSet,Iterator,AsyncIterator=> User needs to set a differentlibortarget.
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: Error MessagesThe issue relates to error messagingThe issue relates to error messagingFixedA PR has been merged for this issueA PR has been merged for this issue