Enables sandbox for all windows except main
This commit is contained in:
@@ -1,19 +1,28 @@
|
||||
diff --git a/node_modules/@types/backbone/index.d.ts b/node_modules/@types/backbone/index.d.ts
|
||||
index a172230..6f6de9f 100644
|
||||
index a172230..2c62e92 100644
|
||||
--- a/node_modules/@types/backbone/index.d.ts
|
||||
+++ b/node_modules/@types/backbone/index.d.ts
|
||||
@@ -81,7 +81,7 @@ declare namespace Backbone {
|
||||
collection?: Backbone.Collection<TModel>;
|
||||
}
|
||||
|
||||
- type CombinedModelConstructorOptions<E, M extends Model<any, any, E> = Model> = ModelConstructorOptions<M> & E;
|
||||
+ type CombinedModelConstructorOptions<E, M extends Model<any, any, E> = Model<any, any, E>> = ModelConstructorOptions<M> & E;
|
||||
|
||||
interface ModelSetOptions extends Silenceable, Validable {
|
||||
}
|
||||
@@ -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.
|
||||
*/
|
||||
- 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.
|
||||
**/
|
||||
public static extend(properties: any, classProperties?: any): any;
|
||||
|
||||
|
||||
- attributes: any;
|
||||
+ attributes: T;
|
||||
changed: any[];
|
||||
|
Reference in New Issue
Block a user