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

TS2769 issued in Glint #91

Open
csprocket777 opened this issue Aug 26, 2022 · 1 comment
Open

TS2769 issued in Glint #91

csprocket777 opened this issue Aug 26, 2022 · 1 comment

Comments

@csprocket777
Copy link

Using this in an addon and as I was porting it to Typescript and using Glint, it's reporting the following error:

error TS2769: The given value does not appear to be usable as a component, modifier or helper.
  No overload matches this call.
    The last overload gave the following error.
      Argument of type 'HTMLElement' is not assignable to parameter of type '(...positional: unknown[]) => unknown'.

16                 <Tag

Are there types available for this? How do I backfill this or resolve this complaint for Glint?

@chriskrycho
Copy link

I'll be opening a PR with types for this tomorrow, as I authored them to test out a migration to .gts in our app this evening!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants