Skip to content
This repository was archived by the owner on Feb 13, 2023. It is now read-only.
This repository was archived by the owner on Feb 13, 2023. It is now read-only.

Typescript: Can't build with react-scripts-ts #118

@fea17e86

Description

@fea17e86

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:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions