MatteoGioioso / serverless-pg

A package for managing PostgreSQL connections at SERVERLESS scale
MIT License
321 stars 16 forks source link

Add support for importing with nodenext #66

Closed perrin4869 closed 2 years ago

perrin4869 commented 2 years ago

Importing this module with nodenext now fails due to es6 syntax being used in the types. I reverted to using export = ... syntax, and added the remaining type exports using a namespace. This should fix the module to be imported in all module systems.

MatteoGioioso commented 2 years ago

@perrin4869 thanks for this PR, likewise for the other one.

MatteoGioioso commented 2 years ago

:tada: This PR is included in version 1.10.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: