mirror of
https://github.com/BradNut/gQuery
synced 2025-09-08 17:40:18 +00:00
adds lang to md
This commit is contained in:
parent
0be3bfb2b3
commit
c1e4d3fd1d
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ The code gen will find the file and spit out a file next to it. Named `FileName.
|
|||
Using the above code, it would output `UserQueries.gGenerated.ts`
|
||||
This also gives us a `get` function for queries based on the query name. ie `getUser` for the above.
|
||||
|
||||
```
|
||||
```javascript
|
||||
<script context="module" lang="ts">
|
||||
// The generated function that fetches and caches
|
||||
import { getUser } from './UserQueries.gGenerated.graphql'
|
||||
|
|
|
|||
Loading…
Reference in a new issue