@overload
Tags do not receive noImplicitAny errors on missing return types
#52514
Labels
Bug
A bug in TypeScript
checkJs
Relates to checking JavaScript using TypeScript
Domain: JSDoc
Relates to JSDoc parsing and type generation
Effort: Casual
Good issue if you're already used to contributing to the codebase. Harder than "good first issue".
Fix Available
A PR has been opened for this issue
Help Wanted
You can do this
Milestone
Playground Link
Here, the first two signatures of
id
are missing an@return
/@returns
tag. That means that they're implicitlyany
.Under
noImplicitAny
, this example should issue an error on both@overload
tags saying that they implicitly return the typeany
.The text was updated successfully, but these errors were encountered: