Skip to content

Commit

Permalink
fix(lint): rename interface to pass linting;
Browse files Browse the repository at this point in the history
  • Loading branch information
xobotyi committed Mar 2, 2020
1 parent 197126a commit a81601b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
@@ -1,10 +1,10 @@
export interface ScrollbarWidth {
export interface IScrollbarWidth {
(force?: boolean): number | undefined;

__cache?: number;
}

export const scrollbarWidth: ScrollbarWidth = (force?: boolean): number | undefined => {
export const scrollbarWidth: IScrollbarWidth = (force?: boolean): number | undefined => {
// safety check for SSR
/* istanbul ignore next */
if (typeof document === 'undefined') {
Expand Down

0 comments on commit a81601b

Please sign in to comment.