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
Upgrading from alpha.6 to beta.0 and I'm now getting a compile error while using the noPropertyAccessFromIndexSignature flag.
node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.ts:5:46 - error TS4111: Property 'a' comes from an index signature, so it must be accessed with ['a'].
5 const testAccess = ({} as Record<string, 0>).a
~
Found 1 error in node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@reduxjs/toolkit/dist/uncheckedindexed.ts:5
Upgrading from alpha.6 to beta.0 and I'm now getting a compile error while using the noPropertyAccessFromIndexSignature flag.
if I change that line to
it compiles just fine.
tsconfig
The text was updated successfully, but these errors were encountered: