@types/sharedb 3.3.4 → 3.3.5

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: Wed, 11 Oct 2023 12:07:28 GMT
11
+ * Last updated: Fri, 13 Oct 2023 07:36:07 GMT
12
12
  * Dependencies: none
13
13
  * Global values: none
14
14
 
sharedb/lib/sharedb.d.ts CHANGED
@@ -174,9 +174,9 @@ export class Doc<T = any> extends TypedEmitter<DocEventMap<T>> {
174
174
 
175
175
  ingestSnapshot(snapshot: Pick<Snapshot<T>, "v" | "type" | "data">, callback?: Callback): void;
176
176
  destroy(callback?: Callback): void;
177
- create(data: any, callback?: Callback): void;
178
- create(data: any, type?: string, callback?: Callback): void;
179
- create(data: any, type?: string, options?: ShareDBSourceOptions, callback?: Callback): void;
177
+ create(data: T, callback?: Callback): void;
178
+ create(data: T, type?: string, callback?: Callback): void;
179
+ create(data: T, type?: string, options?: ShareDBSourceOptions, callback?: Callback): void;
180
180
  submitOp(data: any, options?: ShareDBSourceOptions, callback?: Callback): void;
181
181
  del(callback?: Callback): void;
182
182
  del(options?: ShareDBSourceOptions, callback?: Callback): void;
sharedb/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/sharedb",
3
- "version": "3.3.4",
3
+ "version": "3.3.5",
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": "037a1e2b2d99d2113f3194531d831b12f69b151651405578a8a6cd3ad5db0c90",
43
+ "typesPublisherContentHash": "c4e07675910d7c9953cad2d42597e5fdee670c92a537e56a0f99c636b04bdd47",
44
44
  "typeScriptVersion": "4.5"
45
45
  }