types: remove expect error (#8242)

This commit is contained in:
Parbez
2022-07-17 22:23:40 +05:30
committed by GitHub
parent 1a6ddbbe7b
commit 7e6dbaaed9
3 changed files with 16 additions and 7 deletions

View File

@@ -53,7 +53,7 @@
},
"homepage": "https://discord.js.org",
"dependencies": {
"@sapphire/shapeshift": "^3.4.1",
"@sapphire/shapeshift": "^3.5.1",
"discord-api-types": "^0.36.1",
"fast-deep-equal": "^3.1.3",
"ts-mixer": "^6.0.1",

View File

@@ -30,7 +30,6 @@ export class ApplicationCommandOptionChannelTypesMixin {
Reflect.set(this, 'channel_types', []);
}
// @ts-expect-error: Shapeshift TODO
this.channel_types!.push(...channelTypesPredicate.parse(channelTypes));
return this;

View File

@@ -2852,7 +2852,7 @@ __metadata:
"@discordjs/scripts": "workspace:^"
"@favware/cliff-jumper": ^1.8.5
"@microsoft/api-extractor": ^7.28.3
"@sapphire/shapeshift": ^3.4.1
"@sapphire/shapeshift": ^3.5.1
"@types/node": ^18.0.3
c8: ^7.11.3
discord-api-types: ^0.36.1
@@ -4032,10 +4032,13 @@ __metadata:
languageName: node
linkType: hard
"@sapphire/shapeshift@npm:^3.4.1":
version: 3.4.1
resolution: "@sapphire/shapeshift@npm:3.4.1"
checksum: 97006b34941136c26dd1a8259c1838df08e7e15e869e515a3e4e844d2c5757c4bb92d79eeec72c73ff856e9be00876c88bf71142d11f4b55e043ec76153365cd
"@sapphire/shapeshift@npm:^3.5.1":
version: 3.5.1
resolution: "@sapphire/shapeshift@npm:3.5.1"
dependencies:
fast-deep-equal: ^3.1.3
lodash.uniqwith: ^4.5.0
checksum: caecfef844c9e43e921a5051da888fae7da8980bfd9f9bb4f7fee85931d40929ffb9b6dfae464c0dccee61e56f7698f998e4d9a54d25f35fad39a51ba1a4f391
languageName: node
linkType: hard
@@ -12970,6 +12973,13 @@ dts-critic@latest:
languageName: node
linkType: hard
"lodash.uniqwith@npm:^4.5.0":
version: 4.5.0
resolution: "lodash.uniqwith@npm:4.5.0"
checksum: d49a4565ed64efd86674127d321622673c29cde3e060baebc0f30372f22886c61b2ead44709db8c890053db1b9660e8ed689689812c1a485eb5703caa94d1150
languageName: node
linkType: hard
"lodash@npm:^4.17.14, lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.21, lodash@npm:~4.17.15":
version: 4.17.21
resolution: "lodash@npm:4.17.21"