Skip to content

Commit 1613244

Browse files
committed
chore: Cleanup GQL context type
1 parent b41b009 commit 1613244

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/@types/gql-ctx.d.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
declare namespace Gql {
2-
export type WxtQueueCtx =
3-
(typeof import("../dependencies"))["dependencies"]["registrations"];
2+
export type WxtQueueCtx = import("../dependencies").Dependencies;
43
}

src/dependencies.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ export const container = createIocContainer()
2323
[ExtensionStoreName.EdgeExtensions]: deps.edgeAddonStore,
2424
}) satisfies ExtensionStores,
2525
);
26+
27+
export type Dependencies = typeof container.registrations;

0 commit comments

Comments
 (0)