In JSDocs notation for index signatures, Object and object should be treated as the same #20555
Labels
Domain: JSDoc
Relates to JSDoc parsing and type generation
In Discussion
Not yet reached consensus
Suggestion
An idea for TypeScript
TypeScript Version: 2.7.0-dev.201xxxxx
Code
Expected behavior:
obj
should have a index signature as in #15105Actual behavior:
obj
is treated asany
Additional Info:
This was mentioned in the above issue, and it seems to be related to the way Typescript manage
Object
andobject
, but in JSDocs, they are treated similar.The text was updated successfully, but these errors were encountered: