You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am able to reproduce the type bug.
Should I change the last inside the type file of decorated file itself or should I change anything else? Just need some suggestions
Bug Report 🐛
Types of ast fields are sometimes string, sometimes any. Instead maybe they should conform to the generated types.
Expected Behavior
If I use
ast
property of aClassDeclaration
, it should have the typeIDeclaration
instead ofstring
.Current Behavior
If I use
ast
property of aClassDeclaration
, it has the typestring
instead ofIDeclaration
.Possible Solution
Steps to Reproduce
ModelFile
that has declarationsmodelFile.getAllDeclarations().at(0)
typeof
declaration (no pun intended)typeof myDeclaration
isobject
but TypeScript assumes that it'sstring
, because of the type definition file.Context (Environment)
Desktop
Detailed Description
Possible Implementation
The text was updated successfully, but these errors were encountered: