ca98am79 / connect-dynamodb

DynamoDB session store for Connect
http://ca98am79.github.com/connect-dynamodb/
MIT License
144 stars 66 forks source link

Remove problematic export module #85

Closed slhad closed 10 months ago

slhad commented 10 months ago

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 commented 10 months ago

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

https://github.com/ca98am79/connect-dynamodb/pull/84

ca98am79 commented 10 months ago

fixed with https://github.com/ca98am79/connect-dynamodb/pull/84