-
-
Notifications
You must be signed in to change notification settings - Fork 27k
Closed
Description
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';
react-script 3.4.0
TypeScript 3.8.0
liximomo, dev99problems, spilist, sairion and MichaelDeBoeySamChou19815, petetnt, asllani94, andparsons, kaufmann42 and 2 more