diff --git a/packages/groq/src/groq.ts b/packages/groq/src/groq.ts index b8188901174..024c387f1c2 100644 --- a/packages/groq/src/groq.ts +++ b/packages/groq/src/groq.ts @@ -1,3 +1,13 @@ +/** + * Pass-through groq template tag. This is a no-op, but it helps editor integrations + * understand that a string represents a GROQ query in order to provide syntax highlighting + * and other features. + * + * @param strings - Template string parts + * @param keys - Template string keys + * @returns The same string as the input + * @public + */ export default function groq(strings: TemplateStringsArray, ...keys: any[]): string { const lastIndex = strings.length - 1 return (