Skip to content

Commit

Permalink
Apply types fixes from DefinitelyTyped
Browse files Browse the repository at this point in the history
  • Loading branch information
vkrol committed Apr 26, 2021
1 parent 274214f commit 4eb0b81
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/simplebar/simplebar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ declare namespace SimpleBar {
dragging?: string;
}

interface ClassNamesOptions extends KnownClassNamesOptions {
type ClassNamesOptions = KnownClassNamesOptions & {
[className: string]: string;
}
};

interface Options {
autoHide?: boolean;
Expand All @@ -45,6 +45,7 @@ declare class SimpleBar {
recalculate(): void;
getScrollElement(): HTMLElement;
getContentElement(): HTMLElement;
unMount(): void;

el: HTMLElement;
}

0 comments on commit 4eb0b81

Please sign in to comment.