File tree 2 files changed +6
-1
lines changed 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -900,7 +900,7 @@ declare var Client: {
900
900
interface Clients {
901
901
claim ( ) : Promise < void > ;
902
902
get ( id : string ) : Promise < Client | undefined > ;
903
- matchAll ( options ?: ClientQueryOptions ) : Promise < ReadonlyArray < Client > > ;
903
+ matchAll < T extends ClientQueryOptions > ( options ?: T ) : Promise < ReadonlyArray < T extends { type : "window" } ? WindowClient : Client > > ;
904
904
openWindow ( url : string ) : Promise < WindowClient | null > ;
905
905
}
906
906
Original file line number Diff line number Diff line change 2563
2563
"override-signatures" : [
2564
2564
" get(id: string): Promise<Client | undefined>"
2565
2565
]
2566
+ },
2567
+ "matchAll" : {
2568
+ "override-signatures" : [
2569
+ " matchAll<T extends ClientQueryOptions>(options?: T): Promise<ReadonlyArray<T extends { type: \" window\" } ? WindowClient : Client>>"
2570
+ ]
2566
2571
}
2567
2572
}
2568
2573
}
You can’t perform that action at this time.
0 commit comments