Skip to content

Commit

Permalink
Update ts example (mui#11949)
Browse files Browse the repository at this point in the history
* ass baseUrl to avoid startup warning

* update withStyles syntax
  • Loading branch information
kevinhughes27 authored and Joe Shelby committed Jul 14, 2018
1 parent 0519bb8 commit a459f1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ class Index extends React.Component<WithStyles<'root'>, State> {
}
}

export default withRoot(withStyles(styles)<{}>(Index));
export default withRoot(withStyles(styles)(Index));
1 change: 1 addition & 0 deletions examples/create-react-app-with-typescript/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"baseUrl": ".",
"outDir": "build/dist",
"module": "esnext",
"target": "es5",
Expand Down

0 comments on commit a459f1a

Please sign in to comment.