Skip to content

Commit

Permalink
Update perfect-scrollbar.d.ts (mdbootstrap#839)
Browse files Browse the repository at this point in the history
Better compatibility with parent class Element instead of HTMLElement
  • Loading branch information
aweiu authored and krzysiu-w committed Jul 18, 2019
1 parent a0e06f3 commit e4ef5c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/perfect-scrollbar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ declare namespace PerfectScrollbar {
}

declare class PerfectScrollbar {
constructor(element: string | HTMLElement, options?: PerfectScrollbar.Options);
constructor(element: string | Element, options?: PerfectScrollbar.Options);

update(): void;
destroy(): void;
Expand Down

0 comments on commit e4ef5c2

Please sign in to comment.