Skip to content

fix: make themeVariables typesafe #10402

fix: make themeVariables typesafe

fix: make themeVariables typesafe #10402

Triggered via pull request July 9, 2024 07:37
Status Failure
Total duration 2m 22s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
lint
Type 'Theme | Theme | Theme | Theme | Theme' is not assignable to type 'ThemeVariables | undefined'.
lint
Argument of type 'ThemeVariables | undefined' is not assignable to parameter of type '{ fontFamily: string; fontSize: string; textColor: string; errorBkgColor: string; errorTextColor: string; lineColor: string; } & FlowChartStyleOptions'.
lint
Type 'Theme | Theme | Theme | Theme | Theme' is not assignable to type 'ThemeVariables | undefined'.
lint
Type 'Theme' is not assignable to type 'ThemeVariables'.
lint
Argument of type 'ThemeVariables | undefined' is not assignable to parameter of type '{ fontFamily: string; fontSize: string; textColor: string; errorBkgColor: string; errorTextColor: string; lineColor: string; } & FlowChartStyleOptions'.
lint
Type '{} | null' is not assignable to type 'undefined'.
lint
Type 'Theme | Theme | Theme | Theme | Theme' is not assignable to type 'ThemeVariables | undefined'.
lint
Type '{} | null' is not assignable to type 'undefined'.
lint
Process completed with exit code 3.