Skip to content

Commit

Permalink
Resolve #91 Typescript Types
Browse files Browse the repository at this point in the history
  • Loading branch information
echoulen committed Jan 3, 2020
1 parent 184f28a commit b0ce9a3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.d.ts
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
/build

# misc
.idea
.DS_Store
.env.local
.env.development.local
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.9.0-alpha.20",
"description": "Storybook Addon for Material UI Library",
"main": "dist/index.js",
"types": "storybook-addon-material-ui.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/react-theming/storybook-addon-material-ui.git"
Expand Down
3 changes: 3 additions & 0 deletions storybook-addon-material-ui.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import {DecoratorFunction} from "@storybook/addons";

export declare function muiTheme<T = {}>(arg?: Array<any>): DecoratorFunction<T>;

0 comments on commit b0ce9a3

Please sign in to comment.