TypeScript Runtime Validation Meme
BurtonJ @sptonjohn This is runtime type checking, no? TS is compile time only. If you need something like this in JS/TS, I'd reach for Zod: colinhacks/zod TypeScript-first schema validation with static type inference 302 Contributors 1m Used by 906 Discussions 33k Stars 1k Forks TypeScript-first schema validation with static type inference From zod.dev Colin McDonnell @colinhacks thanks I'll check it out
A dark-mode social media post jokes that TypeScript only checks types at compile time, so runtime validation in JavaScript or TypeScript requires a library like Zod. The reply from Colin McDonnell, Zod’s creator, says he will check it out, making the exchange a playful endorsement and meta-joke. EN: A dark-mode social media post jokes that TypeScript only checks types at compile time, so runtime validation in JavaScript or TypeScript requires a library like Zod. The reply from Colin McDonnell, Zod’s creator, says he will check it out, making the exchange a playful endorsement and meta-joke.
social media post / публикация в соцсетиdark mode interface / интерфейс в тёмной темеprofile avatar / аватар профиляtext post / текстовая публикацияembedded website preview / встроенный предпросмотр сайтаZod logo / логотип ZodGitHub repository card / карточка репозитория GitHubcontributor count / число контрибьюторовdiscussion count / число обсужденийstar count / число звёздfork count / число форковreply / ответblue verification badge / синяя галочка верификацииwhite website card / белая карточка сайта
- @ithueti / 14046 2024-09-19
- Type
- image
- Size
- 594×529 · 37.6 KiB
- Mood
- ироничный, программистский
- Language
- en
- Added