Created
April 17, 2019 04:24
-
-
Save josemarluedke/7339374eacaaba9d3490e4e262a79246 to your computer and use it in GitHub Desktop.
Typescript type definitions for ember-oo-modifiers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module 'ember-oo-modifiers' { | |
export default class Modifier<T = object, T2 = unknown[]> { | |
public element: HTMLElement; | |
public constructor(attrs: T, _owner: unknown); | |
public static modifier(Klass: unknown): unknown; | |
public didInsertElement(positional: T2, args: T): void; | |
public didRecieveArguments(positional: T2, args: T): void; | |
public didUpdateArguments(positional: T2, args: T): void; | |
public willDestroyElement(positional: T2, args: T): void; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment