When useDefineForClassFields is true in tsconfig option exposeUnsetFields doesn't work. This pull request make force exposeUnsetFields to remove property from class if finalValue is undefined
Checklist
[x] the pull request title describes what this PR does (not a vague title like Update index.md)
[x] the pull request targets the default branch of the repository (develop)
[x] the code follows the established code style of the repository
npm run prettier:check passes
npm run lint:check passes
[x] tests are added for the changes I made (if any source code was modified)
[x] documentation added or updated
[x] I have run the project locally and verified that there are no errors
Description
When
useDefineForClassFields
istrue
in tsconfig optionexposeUnsetFields
doesn't work. This pull request make forceexposeUnsetFields
to remove property from class iffinalValue
isundefined
Checklist
Update index.md
)develop
)npm run prettier:check
passesnpm run lint:check
passes