Comparing version 9.0.11 to 9.0.12
@@ -97,4 +97,4 @@ import { Nothing } from "../internal"; | ||
<State, Recipe extends Function>(recipe: Recipe, initialState: State): InferCurriedFromInitialStateAndRecipe<State, Recipe, true>; | ||
<Base, D = Draft<Base>>(base: Base, recipe: (draft: D) => ValidRecipeReturnType<Base>, listener?: PatchListener): PatchesTuple<Immutable<Base>>; | ||
<Base, D = Draft<Base>>(base: Base, recipe: (draft: D) => Promise<ValidRecipeReturnType<Base>>, listener?: PatchListener): PatchesTuple<Promise<Immutable<Base>>>; | ||
<Base, D = Draft<Base>>(base: Base, recipe: (draft: D) => ValidRecipeReturnType<Base>, listener?: PatchListener): PatchesTuple<Base>; | ||
<Base, D = Draft<Base>>(base: Base, recipe: (draft: D) => Promise<ValidRecipeReturnType<Base>>, listener?: PatchListener): PatchesTuple<Promise<Base>>; | ||
} | ||
@@ -101,0 +101,0 @@ export declare function never_used(): void; |
{ | ||
"name": "immer", | ||
"version": "9.0.11", | ||
"version": "9.0.12", | ||
"description": "Create your next immutable state by mutating the current one", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -246,3 +246,3 @@ import {Nothing} from "../internal" | ||
listener?: PatchListener | ||
): PatchesTuple<Immutable<Base>> | ||
): PatchesTuple<Base> | ||
<Base, D = Draft<Base>>( | ||
@@ -252,3 +252,3 @@ base: Base, | ||
listener?: PatchListener | ||
): PatchesTuple<Promise<Immutable<Base>>> | ||
): PatchesTuple<Promise<Base>> | ||
} | ||
@@ -255,0 +255,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
846793