You might want to consider turning this type to be a generic type,
this way you can achieve a more controlled and easy to use definitions when it comes to the user.
for example -
accessor: keyof T will be a very simple way to know what is our actually data types that we are going to work with.
You might want to consider turning this type to be a generic type,
this way you can achieve a more controlled and easy to use definitions when it comes to the user.
for example -
accessor: keyof Twill be a very simple way to know what is our actually data types that we are going to work with.