Skip to content

Commit

Permalink
Fix interfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
farengeyt451 committed Aug 15, 2023
1 parent 137149e commit 9661bb6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions projects/ngx-tippy-wrapper/src/lib/ngx-tippy.interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ export interface NgxTippyInstance extends Instance {
}

export interface NgxTippySingletonInstance extends Omit<NgxTippyInstance, 'tippyName'> {
setInstances(instances: Instance<any>[]);
show(singletonTarget?: string | Instance | number);
showNext();
showPrevious();
setInstances(instances: Instance<any>[]): void;
show(singletonTarget?: string | Instance | number): void;
showNext(): void;
showPrevious(): void;
}

export type NgxTippyContent = NgxTippyTemplate | null | undefined;
Expand Down Expand Up @@ -61,8 +61,8 @@ export interface TippyHTMLElement extends HTMLElement {

export interface ViewRef {
getElement(): Content | null;
detectChanges?();
destroy?();
detectChanges?(): void;
destroy?(): void;
}

export type NgxTippyMessagesDict = typeof messagesDict;
Expand Down

0 comments on commit 9661bb6

Please sign in to comment.