diff --git a/src/utils/Doc.js b/src/utils/Doc.js index 0d8d471b..554932e1 100644 --- a/src/utils/Doc.js +++ b/src/utils/Doc.js @@ -251,14 +251,14 @@ export class Doc extends Observable { } /** - * @template T + * @template {Record} T * @param {string} [name] * @return {YMap} * * @public */ getMap (name = '') { - return /** @type {YMap} */ (this.get(name, YMap)) + return /** @type {YMap} */ /** @type {any} */ (this.get(name, YMap)) } /**