Update Backbone types: attributes is T - and fix failing type checks

This commit is contained in:
Scott Nonnenberg
2023-01-05 13:58:13 -08:00
committed by GitHub
parent c65a7d0a14
commit b8234765bf
11 changed files with 57 additions and 24 deletions

View File

@@ -1,8 +1,8 @@
diff --git a/node_modules/@types/backbone/index.d.ts b/node_modules/@types/backbone/index.d.ts
index a172230..b85ab4c 100644
index a172230..6f6de9f 100644
--- a/node_modules/@types/backbone/index.d.ts
+++ b/node_modules/@types/backbone/index.d.ts
@@ -218,7 +218,7 @@ declare namespace Backbone {
@@ -218,14 +218,14 @@ declare namespace Backbone {
* E - Extensions to the model constructor options. You can accept additional constructor options
* by listing them in the E parameter.
*/
@@ -11,3 +11,11 @@ index a172230..b85ab4c 100644
/**
* Do not use, prefer TypeScript's extend functionality.
**/
public static extend(properties: any, classProperties?: any): any;
- attributes: any;
+ attributes: T;
changed: any[];
cidPrefix: string;
cid: string;