Pandraghon
Pandraghon
SIASapphire - Imagine a framework
Created by Pandraghon on 1/15/2024 in #sapphire-support
Object literal may only specify known properties, and 'tasks' does not exist in type 'ClientOptions'
Hello there, I created a new project with sapphire new, using the minimal template. I'm trying to add the @sapphire/plugin-scheduled-tasks plugin. Following the doc, I use the npm install command and I added the register in the setup.ts. But when I try to add the tasks options in the SapphireClient (index.ts), I get the following error ;
error TS2353: Object literal may only specify known properties, and 'tasks' does not exist in type 'ClientOptions'.
error TS2353: Object literal may only specify known properties, and 'tasks' does not exist in type 'ClientOptions'.
9 replies