perf(tooling): Upgrade to TypeScript 4.8 (#4207)

* ⬆️ Upgrade to TypeScript 4.8

* 🔥 Remove unneeded setting

* 📦 Update `package-lock.json`

*  Restore `skipLibCheck`

* 📦 Re-update `package-lock.json`

* ♻️ Apply feedback

* ♻️ Add check to new WhatsApp node

* 📦 Update `package-lock.json`

* Update package-lock.json

* ran `npm run lintfix`

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
Iván Ovejero
2022-10-05 13:36:09 +02:00
committed by GitHub
parent cc2a2e438b
commit 9089dbe942
39 changed files with 21217 additions and 11086 deletions

View File

@@ -48,7 +48,7 @@ export class WooCommerceApi implements ICredentialType {
user: credentials.consumerKey as string,
password: credentials.consumerSecret as string,
};
if (credentials.includeCredentialsInQuery === true) {
if (credentials.includeCredentialsInQuery === true && requestOptions.qs) {
delete requestOptions.auth;
Object.assign(requestOptions.qs, {
consumer_key: credentials.consumerKey,