diff --git a/app/script/index.tsx b/app/script/index.tsx index 1bc91cb..0202a3c 100644 --- a/app/script/index.tsx +++ b/app/script/index.tsx @@ -20,9 +20,9 @@ ReactDOM.render( if (module.hot) { module.hot.accept("./components/App", () => { - const NextApp = require("./components/App").default; + const NextApp = require("./components/App").default as typeof App; ReactDOM.render( - + , rootElem); }); }