Поправил эти ошибки пропали.
Теперь ошибка в AppStyled:
(alias) const AppStyled: StyledComponent<"div", DefaultTheme, AppStyledProps, never>
import AppStyled
No overload matches this call.
Overload 1 of 2, '(props: Pick<Pick<Pick<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | ... 253 more ... | "css"> & { ...; } & AppStyledProps, "ref" | ... 257 more ... | "bgActive"> & Partial<...>, "ref" | ... 257 more ... | "bgActive"> & { ...; } & { ...; }): ReactElement<...>', gave the following error.
Property 'bgActive' is missing in type '{ children: Element; isHomePage: boolean; }' but required in type 'Pick<Pick<Pick<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | ... 253 more ... | "css"> & { ...; } & AppStyledProps, "ref" | ... 257 more ... | "bgActive"> & Partial<...>, "ref" | ... 257 more ... | "bgActive">'.
Overload 2 of 2, '(props: StyledComponentPropsWithAs<"div", DefaultTheme, AppStyledProps, never, "div">): ReactElement<StyledComponentPropsWithAs<"div", DefaultTheme, AppStyledProps, never, "div">, string | ... 1 more ... | (new (props: any) => Component<...>)>', gave the following error.
Property 'bgActive' is missing in type '{ children: Element; isHomePage: boolean; }' but required in type 'Pick<Pick<Pick<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | ... 253 more ... | "css"> & { ...; } & AppStyledProps, "ref" | ... 257 more ... | "bgActive"> & Partial<...>, "ref" | ... 257 more ... | "bgActive">'.ts(2769)
styles.ts(5, 3): 'bgActive' is declared here.
styles.ts(5, 3): 'bgActive' is declared here.