refactor!: consolidate parameters into a single options
object
#325
Annotations
10 errors and 1 warning
Tests
Object literal may only specify known properties, and 'guild' does not exist in type 'EditApplicationCommandPermissionsMixin'.
|
Tests
Object literal may only specify known properties, and 'guild' does not exist in type '{ permissionId: ApplicationCommandPermissionIdResolvable; permissionType?: ApplicationCommandPermissionType; }'.
|
Tests
Object literal may only specify known properties, and 'guild' does not exist in type '{ token: string; channels?: readonly GuildChannelResolvable[]; roles?: readonly RoleResolvable[]; users: readonly UserResolvable[]; } | { token: string; channels?: readonly GuildChannelResolvable[]; roles: readonly RoleResolvable[]; users?: readonly UserResolvable[]; } | { ...; }'.
|
Tests
Object literal may only specify known properties, and 'guild' does not exist in type '{ token: string; channels?: readonly GuildChannelResolvable[]; roles?: readonly RoleResolvable[]; users: readonly UserResolvable[]; } | { token: string; channels?: readonly GuildChannelResolvable[]; roles: readonly RoleResolvable[]; users?: readonly UserResolvable[]; } | { ...; }'.
|
Tests
Object literal may only specify known properties, and 'guild' does not exist in type '{ token: string; channels?: readonly GuildChannelResolvable[]; roles?: readonly RoleResolvable[]; users: readonly UserResolvable[]; } | { token: string; channels?: readonly GuildChannelResolvable[]; roles: readonly RoleResolvable[]; users?: readonly UserResolvable[]; } | { ...; }'.
|
Tests
Object literal may only specify known properties, and 'guild' does not exist in type 'EditApplicationCommandPermissionsMixin'.
|
Tests
Unused '@ts-expect-error' directive.
|
Tests
Unused '@ts-expect-error' directive.
|
Tests
Unused '@ts-expect-error' directive.
|
Tests
Unused '@ts-expect-error' directive.
|
Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|