Skip to content

Commit

Permalink
Update .eslintrc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Jan 3, 2021
1 parent a751c1b commit 3c8b352
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const forbidTopLevelMessage = [
// This only applies to packages published from this monorepo.
// If you build a library around `@material-ui/core` you can safely use `createStyles` without running into the same issue as we are.
const forbidCreateStylesMessage =
'Use `Styles<Theme, Props, ClassKey>` instead if the styles are exported. Otherwise use `as const` assertions. ' +
'Use `MuiStyles<ClassKey, Props>` instead if the styles are exported. Otherwise use `as const` assertions. ' +
'`createStyles` will lead to inlined, at-compile-time-resolved type-imports. ' +
'See https://github.com/microsoft/TypeScript/issues/36097#issuecomment-578324386 for more information';

Expand Down

0 comments on commit 3c8b352

Please sign in to comment.