Slash Command API enhancements #2107
Annotations
10 errors and 2 warnings
Run TypeScript:
src/renderer/apis/commands.ts#L245
This comparison appears to be unintentional because the types 'ApplicationCommandOptionType.String | ApplicationCommandOptionType.Integer | ApplicationCommandOptionType.Boolean | ... 5 more ... | ApplicationCommandOptionType.Attachment' and 'ApplicationCommandOptionType.Subcommand' have no overlap.
|
Run TypeScript:
src/renderer/apis/commands.ts#L246
Property 'applicationId' does not exist on type 'never'.
|
Run TypeScript:
src/renderer/apis/commands.ts#L247
Property 'name' does not exist on type 'never'.
|
Run TypeScript:
src/renderer/apis/commands.ts#L247
Property 'name' does not exist on type 'never'.
|
Run TypeScript:
src/renderer/apis/commands.ts#L248
Property 'displayName' does not exist on type 'never'.
|
Run TypeScript:
src/renderer/apis/commands.ts#L248
Property 'name' does not exist on type 'never'.
|
Run TypeScript:
src/renderer/apis/commands.ts#L249
Property 'displayDescription' does not exist on type 'never'.
|
Run TypeScript:
src/renderer/apis/commands.ts#L249
Property 'description' does not exist on type 'never'.
|
Run TypeScript:
src/renderer/apis/commands.ts#L250
Property 'id' does not exist on type 'never'.
|
Run TypeScript:
src/renderer/apis/commands.ts#L250
Property 'name' does not exist on type 'never'.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3, pnpm/action-setup@v2, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Loading