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
{{ message }}
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.
I'm using create-react-app with react-scripts-ts. When I'm trying to start or build my project I get the following error:
Failed to compile.
node_modules/bloomer/lib/components/Breadcrumb/Breadcrumb.d.ts
(8,124): Type '{ className: string; accept?: string | undefined; acceptCharset?: string | undefined; action?: string | undefined; allowFullScreen?: boolean | undefined; allowTransparency?: boolean | undefined; ... 279 more ...; key?: string | ... 1 more ... | undefined; }' does not satisfy the constraint 'HTMLAttributes<HTMLElement>'.
Types of property 'unselectable' are incompatible.
Type 'boolean | undefined' is not assignable to type '"on" | "off" | undefined'.
Type 'false' is not assignable to type '"on" | "off" | undefined'.
Do I have to modify my tsconfig to make bloomer work? I forked bloomer to look into the issue and couldn't even run bloomers build script because of multiple ts issues.
Thanks.
The text was updated successfully, but these errors were encountered:
I made some changes in a different PR that got this working with TypeScript 2.9.2 and react-scripts-ts. There may be some additional errors on TypeScript 3.x but it should be worth trying. At some point in the future I'll test on 3.x and open a new PR if there are any other outstanding issues.
Hi
I'm using create-react-app with react-scripts-ts. When I'm trying to start or build my project I get the following error:
Do I have to modify my tsconfig to make bloomer work? I forked bloomer to look into the issue and couldn't even run bloomers build script because of multiple ts issues.
Thanks.
The text was updated successfully, but these errors were encountered: