Skip to content

Commit

Permalink
Typescript provided
Browse files Browse the repository at this point in the history
  • Loading branch information
Starcounter-Jack authored Mar 24, 2022
1 parent 097864a commit 7e9fe13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ var patch = jsonpatch.generate(observer, true);
```

#### `jsonpatch.unobserve(document, observer)`
```
```typescript
jsonpatch.unobserve(document: any, observer: Observer): void

type JsonableObj = { [key:string]: Jsonable };
Expand All @@ -260,7 +260,7 @@ Any remaining changes are delivered synchronously (as in `jsonpatch.generate`).

#### `jsonpatch.compare(document1, document2, invertible)`

```
```typescript
jsonpatch.compare(document1: Jsonable, document2: Jsonable, invertible = false): Operation[]

type JsonableObj = { [key:string]: Jsonable };
Expand Down

0 comments on commit 7e9fe13

Please sign in to comment.