Skip to content

Support TypeScript 3.8 #8675

Closed
Closed

Description

@levrik

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

  1. MichaelDeBoey commented on Mar 24, 2020

    @MichaelDeBoey
    Contributor

    Closed by #8681

  2. ianschmitz commented on Mar 24, 2020

    @ianschmitz
    Contributor

    This should be available in react-scripst@3.4.1.

  3. locked and limited conversation to collaborators on Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions