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
error TS2322: Type '{ noEmit: true; noUnusedLocals: true; allowJs?: boolean | undefined; allowSyntheticDefaultImports...' is not assignable to type 'CompilerOptions'.
Type '{ noEmit: true; noUnusedLocals: true; allowJs?: boolean | undefined; allowSyntheticDefaultImports...' is not assignable to type 'CompilerOptions'.
Index signature is missing in type '{ noEmit: true; noUnusedLocals: true; allowJs?: boolean | undefined; allowSyntheticDefaultImports...'.
To make this work, I need to assign the object literal to a variable with a type annotation containing an index signature.
The text was updated successfully, but these errors were encountered:
I can't get this to repro inside our own code. Can you try this again on typescript@next? I'll see if I can get a standalone repro that doesn't depend on ts.CompilerOptions.
TypeScript Version: nightly (2.4.0-dev.20170608)
Code
Expected behavior:
No error as with [email protected]
Actual behavior:
To make this work, I need to assign the object literal to a variable with a type annotation containing an index signature.
The text was updated successfully, but these errors were encountered: