-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
Use Case
As a... Driver engineer
I want... to fix the return type of withTransaction
So that... linting and code hinting works correctly
User Impact
- N/A
Dependencies
- N/A
Unknowns
- N/A
Acceptance Criteria
Implementation Requirements
- Change return type from Promise<Document | undefined> to Promise<T|undefined>
Testing Requirements
- Add type test for withTransaction that ensures that its generics work correctly
Documentation Requirements
- N/A
Follow Up Requirements
- N/A
- related to
-
NODE-2014 Pass through results of given lambda in withTransaction and withSession
- Closed