This repository was archived by the owner on Jul 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
This repository was archived by the owner on Jul 2, 2022. It is now read-only.
Module Compile Error #14
Copy link
Copy link
Open
Description
Console output these when compiling my mod.ts
error: TS2345 [ERROR]: Argument of type '{ name: string; description: string; choices: ApplicationCommandOptionChoice[] | undefined; options: ApplicationCommandOption[] | undefined; ... 5 more ...; autocomplete: any; }' is not assignable to parameter of type 'ApplicationCommandOption'.
Object literal may only specify known properties, and 'channel_types' does not exist in type 'ApplicationCommandOption'.
channel_types: option.channel_types,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
at https://deno.land/x/natico@3.0.2/src/struct/commands/CommandHandler.ts:417:13
TS2339 [ERROR]: Property 'channel_types' does not exist on type 'ArgOptions'.
channel_types: option.channel_types,
~~~~~~~~~~~~~
at https://deno.land/x/natico@3.0.2/src/struct/commands/CommandHandler.ts:417:35
TS2339 [ERROR]: Property 'min_value' does not exist on type 'ArgOptions'.
min_value: option.min_value,
~~~~~~~~~
at https://deno.land/x/natico@3.0.2/src/struct/commands/CommandHandler.ts:418:31
TS2339 [ERROR]: Property 'max_value' does not exist on type 'ArgOptions'.
max_value: option.max_value,
~~~~~~~~~
at https://deno.land/x/natico@3.0.2/src/struct/commands/CommandHandler.ts:419:31
TS2339 [ERROR]: Property 'autocomplete' does not exist on type 'ArgOptions'.
autocomplete: option.autocomplete,
~~~~~~~~~~~~
at https://deno.land/x/natico@3.0.2/src/struct/commands/CommandHandler.ts:420:34
Found 5 errors.
Natoco Version: 3.0.2
Deno version: 1.17.3
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels