dynamodb-onetable: TypeScript Errors
This project looks really interesting. However, I am getting several TypeScript compile errors:
node_modules/dynamodb-onetable/dist/cjs/Model.d.ts:44:11 - error TS2304: Cannot find name 'OneType'.
44 type: OneType,
~~~~~~~
node_modules/dynamodb-onetable/dist/cjs/Model.d.ts:188:2 - error TS1036: Statements are not allowed in ambient contexts.
188 };
~
node_modules/dynamodb-onetable/dist/cjs/Table.d.ts:21:25 - error TS2314: Generic type 'Model<T>' requires 1 type argument(s).
21 intercept?: (model: Model, op: string, rec: {}, params: OneParams, raw?: {}) => void,
~~~~~
node_modules/dynamodb-onetable/dist/cjs/Table.d.ts:57:2 - error TS1036: Statements are not allowed in ambient contexts.
57 };
~
Found 4 errors.
Any ideas? Thanks
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (18 by maintainers)
Most upvoted comments
+1
bytekast on Apr 13, 2021