Update typescript to 4.8.4
This commit is contained in:
parent
4c622b6f81
commit
e6ebfe4fca
15 changed files with 133 additions and 167 deletions
13
patches/@types+backbone+1.4.5.patch
Normal file
13
patches/@types+backbone+1.4.5.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/node_modules/@types/backbone/index.d.ts b/node_modules/@types/backbone/index.d.ts
|
||||
index a172230..b85ab4c 100644
|
||||
--- a/node_modules/@types/backbone/index.d.ts
|
||||
+++ b/node_modules/@types/backbone/index.d.ts
|
||||
@@ -218,7 +218,7 @@ declare namespace Backbone {
|
||||
* E - Extensions to the model constructor options. You can accept additional constructor options
|
||||
* by listing them in the E parameter.
|
||||
*/
|
||||
- class Model<T = any, S = Backbone.ModelSetOptions, E = {}> extends ModelBase implements Events {
|
||||
+ class Model<T extends Record<string, any> = any, S = Backbone.ModelSetOptions, E = {}> extends ModelBase implements Events {
|
||||
|
||||
/**
|
||||
* Do not use, prefer TypeScript's extend functionality.
|
14
patches/@types+node-fetch+2.6.2.patch
Normal file
14
patches/@types+node-fetch+2.6.2.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
diff --git a/node_modules/@types/node-fetch/index.d.ts b/node_modules/@types/node-fetch/index.d.ts
|
||||
index 346d0b2..8b3efdd 100755
|
||||
--- a/node_modules/@types/node-fetch/index.d.ts
|
||||
+++ b/node_modules/@types/node-fetch/index.d.ts
|
||||
@@ -19,7 +19,8 @@
|
||||
import FormData = require('form-data');
|
||||
import { RequestOptions } from "http";
|
||||
import { URLSearchParams, URL } from "url";
|
||||
-import { AbortSignal } from "./externals";
|
||||
+// Avoid type conflicts!
|
||||
+// import { AbortSignal } from "./externals";
|
||||
|
||||
export class Request extends Body {
|
||||
constructor(input: RequestInfo, init?: RequestInit);
|
Loading…
Add table
Add a link
Reference in a new issue