Skip to content

TS2769 issued in Glint #91

Open
Open
@csprocket777

Description

@csprocket777

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions