Closed freaz closed 3 years ago
I didn't specify custom error classes correctly according to https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work
this PR is fixing it and adding test to ensure instanceof operator works.
instanceof
Neither did I and obviously it is quite important 😅
I didn't specify custom error classes correctly according to https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work
this PR is fixing it and adding test to ensure
instanceof
operator works.