-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
TS compile errors on 4.10.0 - An index signature parameter type must be 'string' or 'number'. #1986
Comments
Hi @timothyallan, could you post an abstract of the code that raises these errors when compiled? |
Yeah I'll look into it some more. It really just was happening while doing a |
I am getting it too ERROR in [at-loader] ./node_modules/mobx/lib/types/observableobject.d.ts:37:10 |
|
Looks like PropertyKey has been changed to include symbol not just string and number https://github.com/microsoft/TypeScript/blob/master/lib/lib.es5.d.ts#L105 |
Oh no, I checked it out, looks like the build of the My recommendation is to stay on Looks like the implementation in the Together with #1987, it might be easier to leave out Symbol support for keys for the 4.x release... That's up to the maintainers. |
Fixed in 4.11.0 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or questions. |
Hey all, I'm getting TS compile errors with mobx 4.10.0 and TS 3.4.5 as well as TS 3.5.1
It's related to #1944
The text was updated successfully, but these errors were encountered: