Skip to content

Correct exporting.#8

Open
Whatever314 wants to merge 2 commits into
DominicVonk:mainfrom
Whatever314:ws
Open

Correct exporting.#8
Whatever314 wants to merge 2 commits into
DominicVonk:mainfrom
Whatever314:ws

Conversation

@Whatever314

Copy link
Copy Markdown

This pr fix the problem that file dist/index.d.ts is empty, so the package could not be imported in ts correctly.

The problem is fixed by replacing original module.exports syntax with 'export default async function ...'.

Then I rerun npm run build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant