@@ -123,7 +123,7 @@ export default (tests) => {
123123 loading . addEventListener ( `${ cacheKey } /end` , loadingListener ) ;
124124
125125 const { promise : loadingResult , resolve : loadingResultResolve } =
126- /** @type {Deferred<Readonly<Record< string, unknown> >> } */
126+ /** @type {Deferred<Readonly<{ [key: string]: unknown } >> } */
127127 ( new Deferred ( ) ) ;
128128 const abortController = new AbortController ( ) ;
129129 const loadingCacheValue = new LoadingCacheValue (
@@ -206,7 +206,7 @@ export default (tests) => {
206206 promise : firstLoadingResult ,
207207 resolve : firstLoadingResultResolve ,
208208 } =
209- /** @type {Deferred<Readonly<Record< string, unknown> >> } */
209+ /** @type {Deferred<Readonly<{ [key: string]: unknown } >> } */
210210 ( new Deferred ( ) ) ;
211211 const firstAbortController = new AbortController ( ) ;
212212 const firstLoadingCacheValue = new LoadingCacheValue (
@@ -246,7 +246,7 @@ export default (tests) => {
246246 promise : secondLoadingResult ,
247247 resolve : secondLoadingResultResolve ,
248248 } =
249- /** @type {Deferred<Readonly<Record< string, unknown> >> } */
249+ /** @type {Deferred<Readonly<{ [key: string]: unknown } >> } */
250250 ( new Deferred ( ) ) ;
251251 const secondAbortController = new AbortController ( ) ;
252252 const secondLoadingCacheValue = new LoadingCacheValue (
@@ -375,7 +375,7 @@ export default (tests) => {
375375 promise : firstLoadingResult ,
376376 resolve : firstLoadingResultResolve ,
377377 } =
378- /** @type {Deferred<Readonly<Record< string, unknown> >> } */
378+ /** @type {Deferred<Readonly<{ [key: string]: unknown } >> } */
379379 ( new Deferred ( ) ) ;
380380 const firstAbortController = new AbortController ( ) ;
381381 const firstLoadingCacheValue = new LoadingCacheValue (
@@ -415,7 +415,7 @@ export default (tests) => {
415415 promise : secondLoadingResult ,
416416 resolve : secondLoadingResultResolve ,
417417 } =
418- /** @type {Deferred<Readonly<Record< string, unknown> >> } */
418+ /** @type {Deferred<Readonly<{ [key: string]: unknown } >> } */
419419 ( new Deferred ( ) ) ;
420420 const secondAbortController = new AbortController ( ) ;
421421 const secondLoadingCacheValue = new LoadingCacheValue (
0 commit comments