gajus / slonik

A Node.js PostgreSQL client with runtime and build time type safety, and composable SQL.
Other
4.56k stars 138 forks source link

Export MaybePromise from package as its currently missing #543

Closed romandvoskin closed 6 months ago

romandvoskin commented 6 months ago

MaybePromise is not exported from the package but is referenced in Interceptor type

Expected Behavior

MaybePromise is exported

Current Behavior

MaybePromise is not exported

Possible Solution

Export from index.ts

Steps to Reproduce

  1. In typescript try to implement Interceptor using MaybePromise as the return type
  2. The import of MaybePromise from slonik will not compile
github-actions[bot] commented 6 months ago

:tada: This issue has been resolved in version 37.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: