Fix entries validation

This commit is contained in:
Mel Bourgeois 2023-05-26 21:27:34 -05:00
parent ea3f171876
commit 6802f8dd58
No known key found for this signature in database
GPG Key ID: 290FCF081AEDB3EC

View File

@ -30,7 +30,7 @@ import * as iterator from 'lib0/iterator'
/**
* @template T
* @typedef {readonly {
* [K in keyof T]: [K, T[K]];
* [K in StringKey<T>]: [K, T[K]];
* }[StringKey<T>][]} EntriesOf<T>
*
* Converts an object schema into a readonly array containing valid key-value pairs.