Skip to content

Commit 36439ba

Browse files
committed
docs(readme): update
1 parent 8916d03 commit 36439ba

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,11 @@ test('base - mutate with error', () => {
8989
## APIs
9090

9191
### `mutate()`
92+
9293
Mutate the mutable object, and return the patches and inverse patches.
9394

9495
### `apply()`
96+
9597
Apply the mutable update with patches.
9698

9799
## License

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mutability",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "A JavaScript library for transactional mutable updates",
55
"main": "dist/index.cjs.js",
66
"unpkg": "dist/index.umd.js",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { create, apply as baseApply, Patches } from 'mutative';
1+
import { create, apply as baseApply, type Patches } from 'mutative';
22

33
/**
44
* Transactional updates to the base state with the recipe.

0 commit comments

Comments
 (0)