Skip to content

Commit

Permalink
Fix TypeScript type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Elouan Martinet committed Oct 18, 2019
1 parent 6a44b47 commit 94ad0f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export interface NouisliderProps {
format?: Formatter;
keyboardSupport?: boolean;
id?: string;
instanceRef?: (instance: React.Ref) => void;
instanceRef?: (instance: React.Ref<any>) => void;
limit?: number;
margin?: number;
onChange?: Callback;
Expand All @@ -44,4 +44,4 @@ export interface NouisliderProps {
tooltips?: boolean | object[];
}

export default class Nouislider extends React.Component<NouisliderProps> {};
export default class Nouislider extends React.Component<NouisliderProps> {}

0 comments on commit 94ad0f7

Please sign in to comment.