instanceof Error
typeguard not functioning
#1938
Labels
By Design
Deprecated - use "Working as Intended" or "Design Limitation" instead
Wonder if this is something that should work. I think it should:
The reason is that
ex
is still of typeany
. I suspect its in the spec thatinstanceof
guard will not work on typeany
(I haven't checked).Would be great if we could have this though.
The text was updated successfully, but these errors were encountered: