(fix) Update tsconfig to include "es2022" #80
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Requirements
Summary
Based on the comment on this PR openmrs/openmrs-esm-core#1085. I updated the
tsconfig
to include "es2022" as a valid option to solve Object.hasOwn() error.Screenshots
Before upgrading the tsconfig file
After updating the tsconfig file
![Screenshot 2024-07-25 at 3 35 46 PM](https://private-user-images.githubusercontent.com/33891016/352108109-32426f4e-26f8-4722-ba2e-c477eb10f1ff.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxOTQ2ODcsIm5iZiI6MTczOTE5NDM4NywicGF0aCI6Ii8zMzg5MTAxNi8zNTIxMDgxMDktMzI0MjZmNGUtMjZmOC00NzIyLWJhMmUtYzQ3N2ViMTBmMWZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDEzMzMwN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAyMTMzMDg3MDlhMzA5YzEyMWU0M2Q2MjI1YzBiMThmODgzMWZjY2NiOTI3MTY1MDBkOTY1MDlhMzBlMDA3YzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.POH3vzxLlszqodU4gCQxIv0fxt9oqhbD02uYS4A9z2M)
Related Issue
Other