3 ms·
And this is the dirty truth about Typescript in modern frontend. The truth of the matter is, the true type of everything that hits the backend is type any, beca
by runawaybottle 5y ago
And this is the dirty truth about Typescript in modern frontend. The truth of the matter is, the true type of everything that hits the backend is type any, because it could truly be anything. You can run from it all you want, but compile time checking won’t save you from the JavaScript gods (who are merciless). Better get those run time null checks in.
I dare you to connect to a real time api and rely on your type checking, it ain’t gonna happen.