Skip to content

Commit

Permalink
Merge pull request #115 from echoulen/version-1
Browse files Browse the repository at this point in the history
Resolve #91 Typescript Types
  • Loading branch information
usulpro committed Jan 4, 2020
2 parents 184f28a + 0d4c7cb commit 300175b
Show file tree
Hide file tree
Showing 4 changed files with 7 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
4 changes: 4 additions & 0 deletions storybook-addon-material-ui.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import {DecoratorFunction} from "@storybook/addons";
import {Theme} from "@material-ui/core";

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

0 comments on commit 300175b

Please sign in to comment.