Skip to content

hanko-elements seems incompatible with @types/[email protected] #2053

Open
@willyfromtheblock

Description

@willyfromtheblock

Checklist

  • I could not find a solution in the existing issues or docs.
  • I agree to follow this project's Code of Conduct.

Describe the bug

Hi,

I'm using components/HankoAuth.tsx for nextjs, more or less straight from your docs.

Upgrading @types/react to ^19.0.0 gives me an

Property 'hanko-auth' does not exist on type 'JSX.IntrinsicElements'.ts(2339)

error.

Same thing happens for <hanko-profile />.


I have googled around a bit and this might be related to the leading small letter of <hanko-auth />?

    "@types/react": "^18.3.3",

still works

Reproducing the bug

upgrade @types/react to ^19.0.0

Logs

Configuration

Hanko Version

"@teamhanko/hanko-elements": "^1.4.0",

OS Hanko Backend

None

OS Version Hanko Backend

No response

OS

None

OS Version

No response

Browser Version

No response

Environment

None

Additional Context

No response

Metadata

Metadata

Labels

Type

No type

Projects

Status

🆕 New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions