UNPKG

309 BJavaScriptView Raw
1export const graphQLContent = Symbol('graphQLContent');
2/**
3 * Use this template string tag for all GraphQL queries.
4 */
5export const gql = (template, ...substitutions) => ({
6 [graphQLContent]: String.raw(template, ...substitutions.map(s => s[graphQLContent] || s)),
7});
8//# sourceMappingURL=graphql.js.map
\No newline at end of file