-
-
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
TypeScript - ObservableMap to Map #1204
Comments
I think we could ass But not that Alternatively, I think |
There was a very similar issue about Bluebird and it assignability to Promise: DefinitelyTyped/DefinitelyTyped#11027 As @mweststrate says, As for now, to solve issue with bluebird and promises, I use |
Why was this closed? I would expect an Is it just a matter of typings? I get the I would rather not have to create a new reference (something like |
@marcfallows a PR is welcome :) Note that in MobX 5 this problem will probably disappear as we will proxy maps instead of having our own data structure |
Just wondering if using an ObservableMap as an es2015 Map is a supported thing? TypeScript is giving a few errors
IDE: VS Code Version 1.17.0 (1.17.0)
TypeScript: 2.5.3
tsconfig.json
includes:The text was updated successfully, but these errors were encountered: