We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aa99b7 commit b03850bCopy full SHA for b03850b
2 files changed
baselines/webworker.generated.d.ts
@@ -893,7 +893,7 @@ declare var Client: {
893
/** Provides access to Client objects. Access it via self.clients within a service worker. */
894
interface Clients {
895
claim(): Promise<void>;
896
- get(id: string): Promise<any>;
+ get(id: string): Promise<Client | undefined>;
897
matchAll(options?: ClientQueryOptions): Promise<ReadonlyArray<Client>>;
898
openWindow(url: string): Promise<WindowClient | null>;
899
}
inputfiles/overridingTypes.json
@@ -2695,6 +2695,17 @@
2695
2696
2697
2698
+ },
2699
+ "Clients": {
2700
+ "methods": {
2701
+ "method": {
2702
+ "get": {
2703
+ "override-signatures": [
2704
+ "get(id: string): Promise<Client | undefined>"
2705
+ ]
2706
+ }
2707
2708
2709
2710
2711
},
0 commit comments