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 expect this to error because baz in not an allowed property. DicT should be equivalent to { [key in 'foo']: string } (mapped type with string literals), however it is equivalent to { [key: string]: string }.
Is this intentional or can we fix it?
The text was updated successfully, but these errors were encountered:
Given
I expect this to error because
baz
in not an allowed property.DicT
should be equivalent to{ [key in 'foo']: string }
(mapped type with string literals), however it is equivalent to{ [key: string]: string }
.Is this intentional or can we fix it?
The text was updated successfully, but these errors were encountered: