We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04b443e commit 17aaefeCopy full SHA for 17aaefe
src/json-crdt/model/api/ModelApi.ts
@@ -319,5 +319,5 @@ export class ModelApi<N extends JsonNode = JsonNode> implements SyncStore<JsonNo
319
// ---------------------------------------------------------------- SyncStore
320
321
public readonly subscribe = (callback: () => void) => this.onChanges.listen(() => callback());
322
- public readonly getSnapshot = () => this.view() as any;
+ public readonly getSnapshot = () => this.view() as JsonNodeView<N>;
323
}
0 commit comments