diff --git a/libraries/overleaf-editor-core/lib/change.js b/libraries/overleaf-editor-core/lib/change.js index ff4b973a3c..cfc3447251 100644 --- a/libraries/overleaf-editor-core/lib/change.js +++ b/libraries/overleaf-editor-core/lib/change.js @@ -13,7 +13,7 @@ const V2DocVersions = require('./v2_doc_versions') /** * @import Author from "./author" - * @import { BlobStore, RawChange } from "./types" + * @import { BlobStore, RawChange, ReadonlyBlobStore } from "./types" */ /** @@ -219,7 +219,7 @@ class Change { * If this Change contains any File objects, load them. * * @param {string} kind see {File#load} - * @param {BlobStore} blobStore + * @param {ReadonlyBlobStore} blobStore * @return {Promise} */ async loadFiles(kind, blobStore) { diff --git a/libraries/overleaf-editor-core/lib/history.js b/libraries/overleaf-editor-core/lib/history.js index d9d1253f34..6a97a6f8a9 100644 --- a/libraries/overleaf-editor-core/lib/history.js +++ b/libraries/overleaf-editor-core/lib/history.js @@ -7,7 +7,7 @@ const Change = require('./change') const Snapshot = require('./snapshot') /** - * @import { BlobStore } from "./types" + * @import { BlobStore, ReadonlyBlobStore } from "./types" */ class History { @@ -85,7 +85,7 @@ class History { * If this History contains any File objects, load them. * * @param {string} kind see {File#load} - * @param {BlobStore} blobStore + * @param {ReadonlyBlobStore} blobStore * @return {Promise} */ async loadFiles(kind, blobStore) { diff --git a/libraries/overleaf-editor-core/lib/operation/index.js b/libraries/overleaf-editor-core/lib/operation/index.js index ebc6f73907..ae7f2bcf01 100644 --- a/libraries/overleaf-editor-core/lib/operation/index.js +++ b/libraries/overleaf-editor-core/lib/operation/index.js @@ -13,7 +13,7 @@ let EditFileOperation = null let SetFileMetadataOperation = null /** - * @import { BlobStore } from "../types" + * @import { ReadonlyBlobStore } from "../types" * @import Snapshot from "../snapshot" */ @@ -80,7 +80,7 @@ class Operation { * If this operation references any files, load the files. * * @param {string} kind see {File#load} - * @param {BlobStore} blobStore + * @param {ReadOnlyBlobStore} blobStore * @return {Promise} */ async loadFiles(kind, blobStore) {}