TypeScript SQL Tagged Template Plugin
JSON →A TypeScript language service plugin that adds type checking and syntax error detection for SQL queries written inside tagged template literals. Currently supports PostgreSQL only. Version 0.3.0 provides diagnostics, type checking against a user-supplied database schema file, and formatting via pgFormatter (requires Perl). It is configured in tsconfig.json and works in any editor with TypeScript language server plugin support. The plugin is maintained and updated infrequently; it is a specialized tool for developers using raw SQL strings in TypeScript.