Skip to content

ts: types for DOM elements #142

@nd0ut

Description

@nd0ut

We need to implement something like this:

declare global {
  namespace JSX {
    interface IntrinsicElements {
       [...]
      "ion-toggle": Components.IonToggleAttributes;
      "ion-toolbar": Components.IonToolbarAttributes;
      "ion-virtual-scroll": Components.IonVirtualScrollAttributes;
    }
  }
}

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