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 created a simple project via preact-cli, added the typescript plugin, redux and preact-redux, but i got this error when running npm run start:
✖ ERROR [at-loader] ./node_modules/preact-redux/src/preact-redux.d.ts:278:5
TS2416: Property 'render' in type 'Provider' is not assignable to the same property in base type 'Component<ProviderProps, {}>'.
Type '(props: ProviderProps) => VNode' is not assignable to type '(props?: (ProviderProps & ComponentProps<this>) | undefined, state?: {} | undefined, context?: an...'.
Types of parameters 'props' and 'props' are incompatible.
Type '(ProviderProps & ComponentProps<this>) | undefined' is not assignable to type 'ProviderProps'.
Type 'undefined' is not assignable to type 'ProviderProps'.
The text was updated successfully, but these errors were encountered:
I created a simple project via preact-cli, added the typescript plugin, redux and preact-redux, but i got this error when running npm run start:
The text was updated successfully, but these errors were encountered: