-
-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change in circular type definition results in TypeScript warning #395
Comments
@jashaj I have tested this locally in my setup:
would act the same (both allowing setting numeric keys |
@jashaj also using Object.keys, it thinks both have string keys. Not sure why with Vue it differs |
At a quick glance, this seems to be a Vue issue? vuejs/core#8819 |
@jordanshatford remind me why was that type changed? |
Should we try to detect circular imports and apply that type only then? Would that minimise the chance of this kind of issues? |
@mrlubos im not sure. In my above comment |
Description
After the change in #370, TypeScript sees the
key
asstring | number
. This breaks code that expects thekey
to be astring
.DefinitionList.vue:
DefinitionItem.vue:
OpenAPI specification (optional)
No response
Configuration
No response
System information (optional)
No response
The text was updated successfully, but these errors were encountered: