From 27f3276ceb4ba663c8edf9facbc32520843c026f Mon Sep 17 00:00:00 2001 From: Kevin Hughes Date: Fri, 22 Jun 2018 16:19:52 +0200 Subject: [PATCH 1/2] ass baseUrl to avoid startup warning --- examples/create-react-app-with-typescript/tsconfig.json | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/create-react-app-with-typescript/tsconfig.json b/examples/create-react-app-with-typescript/tsconfig.json index 85973541495b8d..1e47f90537fab0 100644 --- a/examples/create-react-app-with-typescript/tsconfig.json +++ b/examples/create-react-app-with-typescript/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "baseUrl": ".", "outDir": "build/dist", "module": "esnext", "target": "es5", From bf6d27f84780cc19a4b831309f69979d00fff26a Mon Sep 17 00:00:00 2001 From: Kevin Hughes Date: Fri, 22 Jun 2018 16:20:03 +0200 Subject: [PATCH 2/2] update withStyles syntax --- examples/create-react-app-with-typescript/src/pages/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/create-react-app-with-typescript/src/pages/index.tsx b/examples/create-react-app-with-typescript/src/pages/index.tsx index a8449ad5651820..d3496ff66ab0f9 100644 --- a/examples/create-react-app-with-typescript/src/pages/index.tsx +++ b/examples/create-react-app-with-typescript/src/pages/index.tsx @@ -65,4 +65,4 @@ class Index extends React.Component, State> { } } -export default withRoot(withStyles(styles)<{}>(Index)); +export default withRoot(withStyles(styles)(Index));