Summary
svelte-check reported 13 errors in src/lib/marks/helpers/DotCanvas.svelte.
Errors
- L23:C20 - Generic type 'BaseMarkProps' requires 1 type argument(s). (ts)
- L28:C63 - Parameter 'context' implicitly has an 'any' type. (ts)
- L35:C11 - Type '(canvas: HTMLCanvasElement) => void' is not assignable to type 'Attachment'.
- L47:C25 - Type 'string | CanvasGradient' is not assignable to type 'string | undefined'.
- L47:C45 - Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
- L48:C25 - Type 'string | CanvasGradient' is not assignable to type 'string | undefined'.
- L48:C47 - Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
- L61:C43 - Argument of type 'number | undefined' is not assignable to parameter of type 'number'.
- L63:C38 - 'datum.r' is possibly 'undefined'. (ts)
- L63:C48 - 'datum.r' is possibly 'undefined'. (ts)
- L66:C40 - Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
- L77:C44 - 'datum.x' is possibly 'undefined'. (ts)
- L77:C54 - 'datum.y' is possibly 'undefined'. (ts)
Reproduction
Run:
Summary
svelte-check reported 13 errors in
src/lib/marks/helpers/DotCanvas.svelte.Errors
Reproduction
Run: