We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 995ff73 commit fb47c80Copy full SHA for fb47c80
packages/graphql-authentication/src/queries.ts
@@ -1,4 +1,6 @@
1
import { getUserId, Context } from './utils';
2
+// Without this manual User interface import, TypeScript will create an incorrect queries.d.ts declaration file, WTF?
3
+import { User } from './Adapter';
4
5
export const queries = {
6
currentUser(parent: any, args: any, ctx: Context, info: any) {
0 commit comments