@potygen/typescript-pgsql-plugin
TypeScript icon, indicating that this package has built-in type declarations

0.8.2 • Public • Published

Typescript template decorator plugin

Adds autocomplete and intellisence to typescript's LSP for potygen's sql template tags. Any editor that supports it would then have those features for the sql template tags.

Installation

yarn add --dev @potygen/typesript-pgsql-plugin

You will then need to enable it in the typescript config, as well as define the connection to your development postgres db.

{
  "$schema": "http://json.schemastore.org/tsconfig",
  "compilerOptions": {
    "plugins": [
      {
        "name": "@potygen/typescript-pgsql-plugin",
        "connection": "postgresql://localhost:5432/db"
      }
    ]
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @potygen/typescript-pgsql-plugin

Weekly Downloads

1

Version

0.8.2

License

Apache-2.0

Unpacked Size

14.9 kB

Total Files

15

Last publish

Collaborators

  • ikerin