From 646e0c7b3dfd423d4e9d7d4d3f8225bd0c2e8ec2 Mon Sep 17 00:00:00 2001 From: Alec Aivazis Date: Tue, 18 Oct 2022 19:51:23 -0700 Subject: [PATCH] update typescript guide --- site/src/routes/guides/typescript.svx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/src/routes/guides/typescript.svx b/site/src/routes/guides/typescript.svx index 32d4cc86a..65dda350b 100644 --- a/site/src/routes/guides/typescript.svx +++ b/site/src/routes/guides/typescript.svx @@ -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