supabase / postgrest-js

Isomorphic JavaScript client for PostgREST.
https://supabase.com
MIT License
962 stars 128 forks source link

Fix errors with verbatimModuleSyntax #503

Open ozanmakes opened 7 months ago

ozanmakes commented 7 months ago

This pull request fixes errors that occur when verbatimModuleSyntax is enabled in tsconfig.json. The affected types now use type-only import syntax.

Screenshot 2023-11-11 at 13 36 55

I get similar errors in my app code because my VSCode is set to display all workspace errors with typescript.tsserver.experimental.enableProjectDiagnostics