mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
7a379f1d4f
- Upgraded all dependencies - Removed beta TS 5.0 as it conflicted with some packages - Added types for `Array.prototype.findLast` and `Array.prototype.findLastIndex` (these definitions are provided in TS 5.0 - Fixed fixed type import syntax in a few components - Re-patched `redux-deep-persist` and tested to ensure the patch still works
25 lines
1.2 KiB
Diff
25 lines
1.2 KiB
Diff
diff --git a/node_modules/redux-deep-persist/lib/types.d.ts b/node_modules/redux-deep-persist/lib/types.d.ts
|
|
index b67b8c2..7fc0fa1 100644
|
|
--- a/node_modules/redux-deep-persist/lib/types.d.ts
|
|
+++ b/node_modules/redux-deep-persist/lib/types.d.ts
|
|
@@ -35,6 +35,7 @@ export interface PersistConfig<S, RS = any, HSS = any, ESS = any> {
|
|
whitelist?: Array<string>;
|
|
transforms?: Array<Transform<HSS, ESS, S, RS>>;
|
|
throttle?: number;
|
|
+ debounce?: number;
|
|
migrate?: PersistMigrate;
|
|
stateReconciler?: false | StateReconciler<S>;
|
|
getStoredState?: (config: PersistConfig<S, RS, HSS, ESS>) => Promise<PersistedState>;
|
|
diff --git a/node_modules/redux-deep-persist/src/types.ts b/node_modules/redux-deep-persist/src/types.ts
|
|
index 398ac19..cbc5663 100644
|
|
--- a/node_modules/redux-deep-persist/src/types.ts
|
|
+++ b/node_modules/redux-deep-persist/src/types.ts
|
|
@@ -91,6 +91,7 @@ export interface PersistConfig<S, RS = any, HSS = any, ESS = any> {
|
|
whitelist?: Array<string>;
|
|
transforms?: Array<Transform<HSS, ESS, S, RS>>;
|
|
throttle?: number;
|
|
+ debounce?: number;
|
|
migrate?: PersistMigrate;
|
|
stateReconciler?: false | StateReconciler<S>;
|
|
/**
|