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
Expected behavior:
The code would compile and run without any errors.
Actual behavior:
Line 3 works while line 2 throws an error when compiling: test.ts(2,5): error TS2339: Property 'bar' does not exist on type '{ [index: string]: string; }'.
The text was updated successfully, but these errors were encountered:
TypeScript Version:
1.8.7
Code
Expected behavior:
The code would compile and run without any errors.
Actual behavior:
Line 3 works while line 2 throws an error when compiling:
test.ts(2,5): error TS2339: Property 'bar' does not exist on type '{ [index: string]: string; }'.
The text was updated successfully, but these errors were encountered: