Skip to content

Commit

Permalink
Merge pull request #18 from mmarkelov/Fix-Types
Browse files Browse the repository at this point in the history
Fix types
  • Loading branch information
mmarkelov committed Sep 25, 2019
2 parents 67e34cc + cddcfb4 commit 900234c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions Readme.md
Expand Up @@ -264,6 +264,7 @@ npm run dev

- [ ] Find solution for auto release process
- [ ] Replace custom example process with **docz**
- [ ] Rewrite Typescript declaration

You now have examples running on
`http://localhost:3004`
Expand Down
2 changes: 1 addition & 1 deletion example/package.json
@@ -1,6 +1,6 @@
{
"name": "react-nouislider-example",
"version": "3.3.2",
"version": "3.3.3",
"description": "React NoUiSlider implementation",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -38,4 +38,4 @@ export interface NouisliderProps {
tooltips?: boolean | object[];
}

export const Nouislider: React.ComponentType<NouisliderProps>;
export default class Nouislider extends React.Component<NouisliderProps> {};
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "nouislider-react",
"private": false,
"version": "3.3.2",
"version": "3.3.3",
"description": "React component wrapping leongersen/noUiSlider",
"main": "dist/nouislider-react.cjs.js",
"module": "dist/nouislider-react.esm.js",
Expand Down

0 comments on commit 900234c

Please sign in to comment.