Whatsapp-Botto-Void
Whatsapp-Botto-Void copied to clipboard
problem on sticker formatter
src/commands/Fun/Trigger.ts:7:25 - error TS2307: Cannot find module 'wa-sticker-formatter/lib' or its corresponding type declarations.
7 import { Sticker } from 'wa-sticker-formatter/lib' ~~~~~~~~~~~~~~~~~~~~~~~~~~
src/commands/Utils/Sticker.ts:32:13 - error TS2345: Argument of type '{ pack: string; author: string; crop: boolean; }' is not assignable to parameter of type 'Partial<IStickerOptions>'. Object literal may only specify known properties, and 'crop' does not exist in type 'Partial<IStickerOptions>'.
32 crop: parsedArgs.flags.includes('--stretch') ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~