zenstack
zenstack copied to clipboard
Unnecessary use of `as type` in hooks generation
Description and expected behavior
extra uses of as type that are not required. these can be omitted without any change.
This assertion is unnecessary since it does not change the type of the expression.sonarlint(typescript:S4325)
Screenshots
Environment (please complete the following information):
- ZenStack version: v2
** extra info ** this only happens on the mutate functions for createMany, updateMany, deleteMany.