-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Dependencies, TypeScript
Use Case
As a... javascript user
I want... the driver's tsconfig to use the erasableSyntaxOnly option
So that... the driver can be run directly via node since it now has the capability to erase types
User Experience
- Remove need for driver to be compiled to be used in Javascript projects
Dependencies
- N/A
Risks/Unknowns
- How large would the changes to the driver be to accomodate this?
Acceptance Criteria
Implementation Requirements
- Update typescript version to 5.8 in:
- the driver
- bson
- mongodb-client-encryption
- dbx-js-tools
- enable erasableSyntaxOnly option in all of our ts configs:
- driver main
- bson
- mongodb-client-encryption
- dbx-js-tools
- perf tests
- Update to tsd 0.32.0 (this version uses typescript 5.8)
Testing Requirements
- add test verifying that the driver is runnable/importable directly with the node command
Documentation Requirements
- N/A
Follow Up Requirements
- N/A
- is related to
-
NODE-6896 Update project dependencies
-
- In Progress
-
1.
|
Update Typescript in mongodb-client-encryption | NODE-6936 |
|
Closed | Durran Jordan | mongodb-client-encryption-6.3.1 |
2.
|
Update Typescript in dbx-js-tools | NODE-6937 |
|
Closed | Durran Jordan | |
3.
|
Update Typescript in BSON | NODE-6938 |
|
In Code Review | Durran Jordan | |
4.
|
Update Typescript in driver | NODE-6939 |
|
In Code Review | Durran Jordan |