Skip to content

Instantly share code, notes, and snippets.

@PaulieScanlon
Created April 25, 2024 19:40
Show Gist options
  • Save PaulieScanlon/a9bdca58a21ed0fc504667cfe4c59cba to your computer and use it in GitHub Desktop.
Save PaulieScanlon/a9bdca58a21ed0fc504667cfe4c59cba to your computer and use it in GitHub Desktop.
pg-to-ts-generate
// package.json
"scripts": {
...
"pg-to-ts-generate": "pg-to-ts generate -c $DATABASE_URL -o ./pg-to-ts-db.d.ts"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment