Skip to content
This repository was archived by the owner on Sep 9, 2022. It is now read-only.
This repository was archived by the owner on Sep 9, 2022. It is now read-only.

TypeScript Definition #4

@dmzza

Description

@dmzza

Could you add a TypeScript definition file for this add-on?

I'm new to TypeScript, so this could be wrong, but this is what I used:

export const name: string;

export default class Modifier {
  element: Element
  didInsertElement(positional?: Array<any>, named?: Object): void
  didRecieveArguments(positional?: Array<any>, named?: Object): void
  didUpdateArguments(positional?: Array<any>, named?: Object): void
  willDestroyElement(positional?: Array<any>, named?: Object): void

  static modifier(klass: typeof Modifier): any
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions