Closed FluidSense closed 3 years ago
npm run lint-check fails with this error on a cleanly installed branch.
npm run lint-check
src/common/global.ts:5:28 - error TS2615: Type of property 'defaultProps' circularly references itself in mapped type 'Pick<ForwardRefExoticComponent<Pick<Pick<any, Exclude<keyof ReactDefaultizedProps<StyledComponentInnerComponent<WithC>, ComponentPropsWithRef<StyledComponentInnerComponent<WithC>>>, StyledComponentInnerAttrs<...> | ... 1 more ... | StyledComponentInnerAttrs<...>> | Exclude<...> | Exclude<...> | Exclude<...>> & Parti...'. 5 export const GlobalStyle = createGlobalStyle` ~~~~~~~~~~~~~~~~~~ 6 ${Reset} ~~~~~~~~~~ ... 52 } ~~~ 53 `; ~ src/common/global.ts:5:28 - error TS2615: Type of property 'defaultProps' circularly references itself in mapped type 'Pick<ForwardRefExoticComponent<Pick<Pick<any, Exclude<keyof ReactDefaultizedProps<StyledComponentInnerComponent<WithC>, ComponentPropsWithRef<StyledComponentInnerComponent<WithC>>>, any>> & Partial<...>, any> & { ...; } & WithChildrenIfReactComponentClass<...>>, "defaultProps" | ... 1 more ... | "$$typeof">'. 5 export const GlobalStyle = createGlobalStyle` ~~~~~~~~~~~~~~~~~~ 6 ${Reset} ~~~~~~~~~~ ... 52 } ~~~ 53 `; ~
:tada: This issue has been resolved in version 0.19.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
npm run lint-check
fails with this error on a cleanly installed branch.