Enables sandbox for all windows except main

This commit is contained in:
Josh Perez
2023-04-20 17:23:19 -04:00
committed by GitHub
parent abb839c24b
commit e211837bcd
67 changed files with 1190 additions and 615 deletions

View File

@@ -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[];