The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Opt to ignore cannot find module errors in AIEditor (#39387)
Joshen Limc8ae24140b36
diff --git a/apps/studio/components/ui/AIEditor/index.tsx b/apps/studio/components/ui/AIEditor/index.tsxindex b27d47061e2..3eccb949222 100644--- a/apps/studio/components/ui/AIEditor/index.tsx+++ b/apps/studio/components/ui/AIEditor/index.tsx@@ -163,6 +163,12 @@ const AIEditor = ({}}+ // [Joshen] Opting to ignore "Cannot find module" errors here as users are getting+ // confused with the error highlighting when importing external modules+ monaco.languages.typescript.typescriptDefaults.setDiagnosticsOptions({+ diagnosticCodesToIgnore: [2792],+ })+fetch(`${process.env.NEXT_PUBLIC_BASE_PATH ?? ''}/deno/lib.deno.d.ts`).then((response) => response.text()).then((code) => {