7 lines
212 B
TypeScript
7 lines
212 B
TypeScript
import { gql as apolloGql } from '@apollo/client/core'
|
|
import { markRaw } from 'vue'
|
|
|
|
export function gql (literals: string | readonly string[], ...args: any[]) {
|
|
return markRaw(apolloGql(literals, ...args))
|
|
}
|