diff --git a/package.json b/package.json index 7dde7ab4f67fbd..9578d6d4c03df8 100644 --- a/package.json +++ b/package.json @@ -136,7 +136,7 @@ "size-limit": "^0.21.0", "ts-node": "^8.3.0", "tslint": "5.14.0", - "typescript": "^3.7.4", + "typescript": "^3.8.1-rc", "typescript-to-proptypes": "^1.4.0", "vrtest": "^0.2.0", "webpack": "^4.41.0", diff --git a/packages/material-ui-styles/src/makeStyles/makeStyles.spec.tsx b/packages/material-ui-styles/src/makeStyles/makeStyles.spec.tsx index 9d3fe1cc7d77a4..823516f48dbfd6 100644 --- a/packages/material-ui-styles/src/makeStyles/makeStyles.spec.tsx +++ b/packages/material-ui-styles/src/makeStyles/makeStyles.spec.tsx @@ -107,8 +107,8 @@ import { createStyles, makeStyles } from '@material-ui/styles'; defaultTheme: validCustomTheme, }); - // $ExpectError makeStyles(style, { + // $ExpectError defaultTheme: invalidCustomTheme, }); diff --git a/packages/material-ui-styles/test/styles.spec.tsx b/packages/material-ui-styles/test/styles.spec.tsx index 9b6f271afdf4e5..03bcc37a288ab6 100644 --- a/packages/material-ui-styles/test/styles.spec.tsx +++ b/packages/material-ui-styles/test/styles.spec.tsx @@ -164,9 +164,9 @@ withStyles(theme => content: { minHeight: '100vh', }, - // $ExpectError '@media (min-width: 960px)': { content: { + // $ExpectError display: 'flex', }, }, diff --git a/packages/material-ui/test/typescript/styles.spec.tsx b/packages/material-ui/test/typescript/styles.spec.tsx index c5c5073b1c72c4..baa564bd37e019 100644 --- a/packages/material-ui/test/typescript/styles.spec.tsx +++ b/packages/material-ui/test/typescript/styles.spec.tsx @@ -263,9 +263,9 @@ withStyles(theme => content: { minHeight: '100vh', }, - // $ExpectError '@media (min-width: 960px)': { content: { + // $ExpectError display: 'flex', }, }, diff --git a/yarn.lock b/yarn.lock index 63a1e3420c162f..c9f5e8870a89d2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -14829,10 +14829,10 @@ typescript@3.5.2: resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.2.tgz#a09e1dc69bc9551cadf17dba10ee42cf55e5d56c" integrity sha512-7KxJovlYhTX5RaRbUdkAXN1KUZ8PwWlTzQdHV6xNqvuFOs7+WBo10TQUqT19Q/Jz2hk5v9TQDIhyLhhJY4p5AA== -typescript@^3.7.4, typescript@next: - version "3.7.4" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.4.tgz#1743a5ec5fef6a1fa9f3e4708e33c81c73876c19" - integrity sha512-A25xv5XCtarLwXpcDNZzCGvW2D1S3/bACratYBx2sax8PefsFhlYmkQicKHvpYflFS8if4zne5zT5kpJ7pzuvw== +typescript@^3.8.1-rc, typescript@next: + version "3.8.1-rc" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.1-rc.tgz#f94333c14da70927ccd887be2e91be652a9a09f6" + integrity sha512-aOIe066DyZn2uYIiND6fXMUUJ70nxwu/lKhA92QuQzXyC86fr0ywo1qvO8l2m0EnDcfjprYPuFRgNgDj7U2GlQ== uglify-js@^3.1.4: version "3.7.2"