> start
> tsc -p . && node dist/bot.js
src/bot/commands/pick/canvas-wheel.ts:1:18 - error TS2305: Module '"canvas"' has no exported member 'NodeCanvasRenderingContext2D'.
1 import { Canvas, NodeCanvasRenderingContext2D } from 'canvas';
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/bot/commands/pick/spin-wheel.ts:28:22 - error TS2345: Argument of type 'import("C:/Users/Unbloated/Desktop/wheel-of-names-discord-bot-main/node_modules/canvas/types/index").CanvasRenderingContext2D' is not assignable to parameter of type 'CanvasRenderingContext2D'.
Type 'CanvasRenderingContext2D' is missing the following properties from type 'CanvasRenderingContext2D': isPointInStroke, filter, imageSmoothingQuality, direction, and 2 more.
28 encoder.addFrame(ctx);
~~~
src/bot/commands/pick/spin-wheel.ts:32:22 - error TS2345: Argument of type 'import("C:/Users/Unbloated/Desktop/wheel-of-names-discord-bot-main/node_modules/canvas/types/index").CanvasRenderingContext2D' is not assignable to parameter of type 'CanvasRenderingContext2D'.
32 encoder.addFrame(ctx);
~~~
Found 3 errors.
Any idea? ;-;