Files
dancefinder-app/utils/gql.ts
T

8 lines
275 B
TypeScript
Raw Normal View History

import { gql as apolloGql } from '@apollo/client/core'
import { markRaw } from 'vue'
// eslint-disable-next-line @typescript-eslint/no-explicit-any
2024-02-05 16:48:02 +01:00
export function gql(literals: string | readonly string[], ...args: any[]) {
return markRaw(apolloGql(literals, ...args))
}