@types/sharedb 3.3.3 → 3.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
sharedb/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for sharedb (https://github.com/share/sha
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sharedb.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Mon, 25 Sep 2023 13:39:06 GMT
11
+ * Last updated: Wed, 11 Oct 2023 12:07:28 GMT
12
12
  * Dependencies: none
13
13
  * Global values: none
14
14
 
sharedb/lib/sharedb.d.ts CHANGED
@@ -178,7 +178,8 @@ export class Doc<T = any> extends TypedEmitter<DocEventMap<T>> {
178
178
  create(data: any, type?: string, callback?: Callback): void;
179
179
  create(data: any, type?: string, options?: ShareDBSourceOptions, callback?: Callback): void;
180
180
  submitOp(data: any, options?: ShareDBSourceOptions, callback?: Callback): void;
181
- del(options: ShareDBSourceOptions, callback?: (err: Error) => void): void;
181
+ del(callback?: Callback): void;
182
+ del(options?: ShareDBSourceOptions, callback?: Callback): void;
182
183
  whenNothingPending(callback: () => void): void;
183
184
  hasPending(): boolean;
184
185
  hasWritePending(): boolean;
sharedb/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedb",
3
- "version": "3.3.3",
3
+ "version": "3.3.4",
4
4
  "description": "TypeScript definitions for sharedb",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sharedb",
6
6
  "license": "MIT",
@@ -40,6 +40,6 @@
40
40
  },
41
41
  "scripts": {},
42
42
  "dependencies": {},
43
- "typesPublisherContentHash": "fbdde692ba5d7c2298eab1e8814a3ef9d18fc67251c2b9b0c9aeb678c3be4740",
43
+ "typesPublisherContentHash": "037a1e2b2d99d2113f3194531d831b12f69b151651405578a8a6cd3ad5db0c90",
44
44
  "typeScriptVersion": "4.5"
45
45
  }