<!-- Please note that your issue will be fixed much faster if you spend about half an hour preparing it, including the exact reproduction steps and a demo. If you're in a hurry or don't feel confident, it's fine to report bugs with less details, but this makes it less likely they'll get fixed soon. In either case, please use this template and fill in as many fields below as you can. Note that we don't provide help for webpack questions after ejecting. You can find webpack docs at https://webpack.js.org/. --> Can't use the new type imports introduced by TypeScript 3.8 ``` SyntaxError: /Users/levrik/code/<redacted>/src/theme.ts: Unexpected token (3:12) 1 | import { createMuiTheme, emphasize } from '@material-ui/core/styles'; 2 | import createPalette from '@material-ui/core/styles/createPalette'; > 3 | import type { SkeletonClassKey } from '@material-ui/lab/Skeleton'; ``` https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html#type-only-imports-exports react-script 3.4.0 TypeScript 3.8.0
Activity
MichaelDeBoey commentedon Mar 24, 2020
Closed by #8681
ianschmitz commentedon Mar 24, 2020
This should be available in
react-scripst@3.4.1.