diff --git a/src/types/YMap.js b/src/types/YMap.js index 330763d5..8dec01ee 100644 --- a/src/types/YMap.js +++ b/src/types/YMap.js @@ -30,7 +30,7 @@ import * as iterator from 'lib0/iterator' /** * @template T * @typedef {readonly { - * [K in keyof T]: [K, T[K]]; + * [K in StringKey]: [K, T[K]]; * }[StringKey][]} EntriesOf * * Converts an object schema into a readonly array containing valid key-value pairs.