TS 3.5 regression casting object
to { [key: string]: unknown };
#31381
Labels
Working as Intended
The behavior described is the intended behavior; this is not a bug
TypeScript Version: 3.5.0-dev.20190507
Search Terms:
Code
Expected behavior:
This code compiles without errors in TS 3.4.5
Actual behavior:
In 3.5@next, there is the error:
This may be by design but I'm not sure which issue tracks the change.
We hit this issue in the vscode codebase
Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: