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.
2 parents 04b443e + 17aaefe commit 1d308b1Copy full SHA for 1d308b1
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