Skip to content

Remove problematic export module #85

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Remove problematic export module #85

wants to merge 1 commit into from

Conversation

slhad
Copy link

@slhad slhad commented Aug 22, 2023

Removing declare module "connect-dynamodb" fixes the typescript compilation

$ node -v
v18.16.0
$ tsc -v
Version 5.0.4
$ tsc  --project tsconfig-build.json
node_modules/connect-dynamodb/index.d.ts:10:3 - error TS2666: Exports and export assignments are not permitted in module augmentations.

10   export = ConnectDynamoDB;
     ~~~~~~


Found 1 error in node_modules/connect-dynamodb/index.d.ts:10

@yutak23
Copy link
Contributor

yutak23 commented Aug 23, 2023

I am also proposing the same modification and a modification to export default.

#84

@ca98am79
Copy link
Owner

fixed with #84

@ca98am79 ca98am79 closed this Aug 24, 2023
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.

3 participants