This only applies to TypeScript, but error checking for this pattern from a library is much harder than error checking for native syntax. In order for TypeScript to check if the return value of one function has the…
This only applies to TypeScript, but error checking for this pattern from a library is much harder than error checking for native syntax. In order for TypeScript to check if the return value of one function has the…