ソースを参照

Define Change.toRaw result as RawChange (#25676)

GitOrigin-RevId: 0fa23806e9d7ee015b5a2a542d52382499edf9ab
Alf Eaton 1 年間 前
親
コミット
827fb19df7
1 ファイル変更、2 行追加、2 行削除
  1. 2 2
      libraries/overleaf-editor-core/lib/change.js

+ 2 - 2
libraries/overleaf-editor-core/lib/change.js

@@ -13,7 +13,7 @@ const V2DocVersions = require('./v2_doc_versions')
 
 
 /**
 /**
  * @import Author from "./author"
  * @import Author from "./author"
- * @import { BlobStore } from "./types"
+ * @import { BlobStore, RawChange } from "./types"
  */
  */
 
 
 /**
 /**
@@ -54,7 +54,7 @@ class Change {
   /**
   /**
    * For serialization.
    * For serialization.
    *
    *
-   * @return {Object}
+   * @return {RawChange}
    */
    */
   toRaw() {
   toRaw() {
     function toRaw(object) {
     function toRaw(object) {