From 9956f195f5f59d3dee5b442e70443294aafdd715 Mon Sep 17 00:00:00 2001 From: Trevor Dobbertin Date: Mon, 8 Jul 2024 14:16:33 -0500 Subject: [PATCH] move code snippet above tip that references it (#27581) * move code snippet above tip that references it * change wording --- apps/docs/content/guides/api/rest/generating-types.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/guides/api/rest/generating-types.mdx b/apps/docs/content/guides/api/rest/generating-types.mdx index a9d557a3ac2..1986477b76b 100644 --- a/apps/docs/content/guides/api/rest/generating-types.mdx +++ b/apps/docs/content/guides/api/rest/generating-types.mdx @@ -206,7 +206,7 @@ const countriesWithCities: CountriesWithCities = data One way to keep your type definitions in sync with your database is to set up a GitHub action that runs on a schedule. -Add the script above to your `package.json` to run it using `npm run update-types` +Add the following script to your `package.json` to run it using `npm run update-types` ```json "update-types": "npx supabase gen types typescript --project-id \"$PROJECT_REF\" > types/supabase.ts"