Skip to content

Slash Command API enhancements #1922

Slash Command API enhancements

Slash Command API enhancements #1922

Triggered via pull request October 24, 2023 11:02
Status Failure
Total duration 51s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

typescript.yml

on: pull_request
Run TypeScript
38s
Run TypeScript
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Run TypeScript: src/renderer/apis/commands.ts#L230
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#L231
Property 'applicationId' does not exist on type 'never'.
Run TypeScript: src/renderer/apis/commands.ts#L232
Property 'name' does not exist on type 'never'.
Run TypeScript: src/renderer/apis/commands.ts#L232
Property 'name' does not exist on type 'never'.
Run TypeScript: src/renderer/apis/commands.ts#L233
Property 'displayName' does not exist on type 'never'.
Run TypeScript: src/renderer/apis/commands.ts#L233
Property 'name' does not exist on type 'never'.
Run TypeScript: src/renderer/apis/commands.ts#L234
Property 'displayDescription' does not exist on type 'never'.
Run TypeScript: src/renderer/apis/commands.ts#L234
Property 'description' does not exist on type 'never'.
Run TypeScript: src/renderer/apis/commands.ts#L235
Property 'id' does not exist on type 'never'.
Run TypeScript: src/renderer/apis/commands.ts#L235
Property 'name' does not exist on type 'never'.
Run TypeScript
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/