mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 05:20:25 +00:00
Added callback to fluxible rehydrate function definition (#35229)
* Added callback to fluxible rehydrate function definition * Fixed the type of the rehydrate callback property in fluxible * Made callback function optional in fluxible's rehydrate * Fixed callback parameter for rehydrate in fluxible
This commit is contained in:
committed by
Jesse Trinity
parent
f1b2c015b9
commit
6af00aa070
Vendored
+1
-1
@@ -90,7 +90,7 @@ export class Fluxible {
|
||||
* @param callback
|
||||
* @async Rehydration may require more asset loading or async IO calls
|
||||
*/
|
||||
rehydrate(state: any): void;
|
||||
rehydrate(state: any, callback?: (err: Error, context: FluxibleContext) => void): void;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user