© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
8 replies
Nico Martin

Edge Functions / Deno does not work with TypeScript

I'm using JetBrains to write some supabase edge functions.
My problem is that TypeScript does not work the way I'm used to.

To showcase my Problem I created a Promise that returns an Objectt
{a:string}
{a:string}
. When I call this function and try to access the "b" property I would expect TS to yell at me. But nothing happens.
Even if I serve the function, it runs without an error. Is there a reason TypeScript does not enforce the correct types in edge functions?
image.png
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Edge functions + Deno Fresh?
SupabaseSSupabase / help-and-questions
4y ago
Node modules with Deno in edge functions
SupabaseSSupabase / help-and-questions
4y ago
how do edge functions work??
SupabaseSSupabase / help-and-questions
8mo ago
Edge Functions not updating
SupabaseSSupabase / help-and-questions
6mo ago