I'll do an article on logging and troubleshooting pipes later this week. But here's an example of one of the log utils throwing on an unexpected type...
This seems like a poor man's TypeScript.
Typescript does not do runtime type checking.
Because I'm saying you should check it at compile time
That won't help you with dynamic data at runtime. That's where the runtime bugs are. Thus this is outside the scope of Typescript.
Ok then I guess I misunderstood, sorry
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'll do an article on logging and troubleshooting pipes later this week.
But here's an example of one of the log utils throwing on an unexpected type...
This seems like a poor man's TypeScript.
Typescript does not do runtime type checking.
Because I'm saying you should check it at compile time
That won't help you with dynamic data at runtime.
That's where the runtime bugs are.
Thus this is outside the scope of Typescript.
Ok then I guess I misunderstood, sorry