fix: make themeVariables typesafe #3831
Annotations
9 errors
build-docs
Process completed with exit code 3.
|
build-docs
Type 'Theme | Theme | Theme | Theme | Theme' is not assignable to type '{ fontFamily?: string | undefined; fontSize?: number | undefined; fontWeight?: number | undefined; primaryColor?: string | undefined; primaryTextColor?: string | undefined; pie1?: string | undefined; ... 28 more ...; THEME_COLOR_LIMIT?: number | undefined; } | undefined'.
|
build-docs
Argument of type '{ fontFamily?: string | undefined; fontSize?: number | undefined; fontWeight?: number | undefined; primaryColor?: string | undefined; primaryTextColor?: string | undefined; pie1?: string | undefined; ... 28 more ...; THEME_COLOR_LIMIT?: number | undefined; } | undefined' is not assignable to parameter of type '{ fontFamily: string; fontSize: string; textColor: string; errorBkgColor: string; errorTextColor: string; lineColor: string; } & FlowChartStyleOptions'.
|
build-docs
Type 'Theme | Theme | Theme | Theme | Theme' is not assignable to type '{ fontFamily?: string | undefined; fontSize?: number | undefined; fontWeight?: number | undefined; primaryColor?: string | undefined; primaryTextColor?: string | undefined; pie1?: string | undefined; ... 28 more ...; THEME_COLOR_LIMIT?: number | undefined; } | undefined'.
|
build-docs
Type 'Theme' is not assignable to type '{ fontFamily?: string | undefined; fontSize?: number | undefined; fontWeight?: number | undefined; primaryColor?: string | undefined; primaryTextColor?: string | undefined; pie1?: string | undefined; ... 28 more ...; THEME_COLOR_LIMIT?: number | undefined; }'.
|
build-docs
Argument of type '{ fontFamily?: string | undefined; fontSize?: number | undefined; fontWeight?: number | undefined; primaryColor?: string | undefined; primaryTextColor?: string | undefined; pie1?: string | undefined; ... 28 more ...; THEME_COLOR_LIMIT?: number | undefined; } | undefined' is not assignable to parameter of type '{ fontFamily: string; fontSize: string; textColor: string; errorBkgColor: string; errorTextColor: string; lineColor: string; } & FlowChartStyleOptions'.
|
build-docs
Type '{} | null' is not assignable to type 'undefined'.
|
build-docs
Type 'Theme | Theme | Theme | Theme | Theme' is not assignable to type '{ fontFamily?: string | undefined; fontSize?: number | undefined; fontWeight?: number | undefined; primaryColor?: string | undefined; primaryTextColor?: string | undefined; pie1?: string | undefined; ... 28 more ...; THEME_COLOR_LIMIT?: number | undefined; } | undefined'.
|
build-docs
Type '{} | null' is not assignable to type 'undefined'.
|