Synthesized-Infinity / Whatsapp-Botto-Void

A fully Object Oriented WhatsApp bot built with TypeScript
GNU Affero General Public License v3.0
71 stars 81 forks source link

problem on sticker formatter #67

Closed pestdaddy closed 1 year ago

pestdaddy commented 2 years ago

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')
github-actions[bot] commented 1 year ago

Stale issue message