Fix entries validation
This commit is contained in:
parent
ea3f171876
commit
6802f8dd58
@ -30,7 +30,7 @@ import * as iterator from 'lib0/iterator'
|
|||||||
/**
|
/**
|
||||||
* @template T
|
* @template T
|
||||||
* @typedef {readonly {
|
* @typedef {readonly {
|
||||||
* [K in keyof T]: [K, T[K]];
|
* [K in StringKey<T>]: [K, T[K]];
|
||||||
* }[StringKey<T>][]} EntriesOf<T>
|
* }[StringKey<T>][]} EntriesOf<T>
|
||||||
*
|
*
|
||||||
* Converts an object schema into a readonly array containing valid key-value pairs.
|
* Converts an object schema into a readonly array containing valid key-value pairs.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user