Skip to content

Commit

Permalink
update typescript guide
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecAivazis committed Oct 19, 2022
1 parent bff6104 commit 646e0c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/src/routes/guides/typescript.svx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ In order to setup your project to take full advantage of Houdini's generated typ
}
```

## SvelteKit Routes
## Queries

When working with Houdini's [generated load functions](/api/query#automatic-loading), you can import type definition for your variable functions and hooks from `./$houdini` (a relative import):
When working with Houdini's [generated load functions](/api/query#automatic-loading) (whether in a route or component), you can import type definition for your variable functions and hooks from `./$houdini` (a relative import):

```typescript
/// src/routes/myProifle/+page.ts
Expand Down

0 comments on commit 646e0c7

Please sign in to comment.