Created
September 30, 2022 10:19
-
-
Save jscheid/c2debf024f6683153de705520e8f5ca6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ /private/tmp/ts2/mui-sc-lib-check/node_modules/.bin/tsc | |
node_modules/@mui/system/Container/createContainer.d.ts:12:87 - error TS2707: Generic type 'StyledComponent' requires between 2 and 4 type arguments. | |
12 createStyledComponent?: (...styles: Array<Interpolation<StyleFnProps<Theme>>>) => StyledComponent<ContainerProps>; | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/@mui/system/Stack/createStack.d.ts:13:74 - error TS2694: Namespace '"/private/tmp/ts2/mui-sc-lib-check/node_modules/@mui/styled-engine/index"' has no exported member 'CreateStyledComponent'. | |
13 declare const defaultCreateStyledComponent: import("@mui/styled-engine").CreateStyledComponent<import("../createStyled").MUIStyledCommonProps<any>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}, any>; | |
~~~~~~~~~~~~~~~~~~~~~ | |
node_modules/@mui/system/Unstable_Grid/createGrid.d.ts:4:74 - error TS2694: Namespace '"/private/tmp/ts2/mui-sc-lib-check/node_modules/@mui/styled-engine/index"' has no exported member 'CreateStyledComponent'. | |
4 declare const defaultCreateStyledComponent: import("@mui/styled-engine").CreateStyledComponent<import("../createStyled").MUIStyledCommonProps<any>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}, any>; | |
~~~~~~~~~~~~~~~~~~~~~ | |
Found 3 errors in 3 files. | |
Errors Files | |
1 node_modules/@mui/system/Container/createContainer.d.ts:12 | |
1 node_modules/@mui/system/Stack/createStack.d.ts:13 | |
1 node_modules/@mui/system/Unstable_Grid/createGrid.d.ts:4 | |
error Command failed with exit code 2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment