-
Notifications
You must be signed in to change notification settings - Fork 99
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
Use { [key: K]: V }
instead or Record<K, V>
for Maps
#134
Comments
Off topic: How about enabling also import type { B } from "./B";
export type A {
map: Map<string, B>
} |
Hey @ramiroaisen! Can you give an example of this for testing? |
I don't think support for Map will be implemented, but you can use |
{ [key: K]: V }
instead or Record<K, V>
for Maps
This issue seems to be stale, so I'll close it for now. If there is still interest in this feature, please open a new issue. |
Due to #276, this has become a relevant issue for new features, so I'm reopening the issue |
If we use
and
V
is a type that circular reference typeT
we get an error in typescript.This doesn't happen with
If you are ok with this change I can make a PR, is a simple two liner change.
The text was updated successfully, but these errors were encountered: