Skip to content

Commit

Permalink
Merge pull request #22 from Exagone313/fix-typescript
Browse files Browse the repository at this point in the history
Fix TypeScript type definition (#21)
  • Loading branch information
mmarkelov committed Oct 20, 2019
2 parents 6a44b47 + 94ad0f7 commit 6a465f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
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 6a465f1

Please sign in to comment.