diff --git a/packages/apollo-angular/src/gql.ts b/packages/apollo-angular/src/gql.ts index 8a318531c..8a1bbdf6b 100644 --- a/packages/apollo-angular/src/gql.ts +++ b/packages/apollo-angular/src/gql.ts @@ -1,11 +1,9 @@ import { gql as gqlTag, TypedDocumentNode } from '@apollo/client/core'; -function typedGQLTag( - literals: ReadonlyArray | Readonly, - ...placeholders: any[] -): TypedDocumentNode { - return gqlTag(literals, ...placeholders); -} +const typedGQLTag: ( + literals: ReadonlyArray | Readonly, + ...placeholders: any[] +) => TypedDocumentNode = gqlTag; export const gql = typedGQLTag; export const graphql = typedGQLTag;