Closed andrisi closed 1 year ago
@andrisi the package it is already published to npm
, so install it with npm i pg-types
To consume it, do import { builtins, getTypeParser } from 'pg-types'
Proof of concept, https://replit.com/@ccampean/ImportFromNodePgTypes#readme.md
thanks! (perhaps this could go to the README)
Could you provide an example with the "import" statement and not "require" so that type translators get registered?