Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error #133

Closed
Kalhama opened this issue Oct 1, 2024 · 0 comments
Closed

Build error #133

Kalhama opened this issue Oct 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Kalhama
Copy link
Owner

Kalhama commented Oct 1, 2024

gluwave: pnpm build

./src/app/(menu)/settings/typography.tsx:35:6
Type error: Type '{ children: ReactNode; defaultChecked?: boolean | undefined; defaultValue?: string | number | readonly string[] | undefined; suppressContentEditableWarning?: boolean | undefined; ... 272 more ...; className: string; }' is not assignable to type 'DetailsHTMLAttributes<HTMLDetailsElement>'.
  Types of property 'onToggle' are incompatible.
    Type 'ToggleEventHandler<HTMLOrSVGElement> | undefined' is not assignable to type 'ReactEventHandler<HTMLDetailsElement> | undefined'.
      Type 'ToggleEventHandler<HTMLOrSVGElement>' is not assignable to type 'ReactEventHandler<HTMLDetailsElement>'.
        Types of parameters 'event' and 'event' are incompatible.
          Type 'SyntheticEvent<HTMLDetailsElement, Event>' is missing the following properties from type 'ToggleEvent<HTMLOrSVGElement>': oldState, newState

  33 |
  34 |   return (
> 35 |     <Wrapper className={cn(variantStyles({ variant }), className)} {...props}>
     |      ^
  36 |       {children}
  37 |     </Wrapper>
  38 |   )
   Linting and checking validity of types  ... ELIFECYCLE  Command failed with exit code 1.
@Kalhama Kalhama added the bug Something isn't working label Oct 1, 2024
@Kalhama Kalhama moved this from Backlog to In Progress in Gluwave roadmap Oct 1, 2024
Kalhama added a commit that referenced this issue Oct 2, 2024
@Kalhama Kalhama closed this as completed by moving to Done in Gluwave roadmap Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

1 participant