I cannot check an error with instanceof ItemNotFoundError because in the compiled file classes get converted into functions. I think it is because you target es5 in the tsconfig.json.
I don't know if it is desired/necessary to target es5 for some reason, otherwise would it be possible to change it to es6?
Thank you for this great project! :slightly_smiling_face:
I cannot check an error with
instanceof ItemNotFoundError
because in the compiled file classes get converted into functions. I think it is because you targetes5
in thetsconfig.json
.I don't know if it is desired/necessary to target
es5
for some reason, otherwise would it be possible to change it toes6
?Thank you for this great project! :slightly_smiling_face: