aws / aws/aws-advanced-nodejs-wrapper

Exporting Typescript types

Open
#527 7 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
39
Forks
12
Avg merge
1d 9h
Merged PRs (30d)
7

Description

### Describe the bug

Trying to use this project in a typescript project. But it doesn't appear to have exported `types`, so right now it can't be imported into the project...

### Expected Behavior

Types included in the exported package

### What plugins are used? What other connection properties were set?

N/A

### Current Behavior

No type definitions exported.

You can also tell that that this isn't working quite right in the [examples](https://github.com/aws/aws-advanced-nodejs-wrapper/blob/main/examples/prisma_example/README.md) importing in this fashion:

```ts
import { AwsPGClient } from "aws-advanced-nodejs-wrapper/dist/pg/lib/index.js";
```

### Reproduction Steps

Install in a Typescript project and try to import the wrapper

### Possible Solution

_No response_

### Additional Information/Context

_No response_

### The AWS Advanced NodeJs Wrapper version used

N/A

### Node version used

22

### Operating System and version

macOS

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.