From 71c2abdac3ab092c8bf8ac84b40f77b20821dfb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thor=20=E9=9B=B7=E7=A5=9E=20Schaeff?= <5748289+thorwebdev@users.noreply.github.com> Date: Thu, 18 Jul 2024 13:52:07 +0800 Subject: [PATCH] fix: import edge runtime types from jsr (#2529) * fix: import from jsr. * Update internal/functions/new/templates/index.ts --- internal/functions/new/templates/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/functions/new/templates/index.ts b/internal/functions/new/templates/index.ts index 264d9972e..c7f64fffa 100644 --- a/internal/functions/new/templates/index.ts +++ b/internal/functions/new/templates/index.ts @@ -3,7 +3,7 @@ // This enables autocomplete, go to definition, etc. // Setup type definitions for built-in Supabase Runtime APIs -import "https://esm.sh/@supabase/functions-js/src/edge-runtime.d.ts" +import "jsr:@supabase/functions-js/edge-runtime.d.ts" console.log("Hello from Functions!")