Skip to content

Commit

Permalink
Merge pull request #562 from vkrol/apply-types-fixes-from-definitely-…
Browse files Browse the repository at this point in the history
…typed

Apply types fixes from DefinitelyTyped
  • Loading branch information
Grsmto authored May 5, 2021
2 parents 274214f + 4eb0b81 commit 6c82aa9
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 6c82aa9

Please sign in to comment.