TypeScript Yellow Card
YTAS 77:21 Type '() => void' is not assignable to type 'T'. '() => void' is assignable to the constraint of 'T', but 'T' could be instantiated with a different subtype of 'B'. (2322) View Problem (⌥F8) No quick fixes available me // @ts-ignore TypeScript
A football referee shows a yellow card to a player, while an error message from TypeScript appears above them. The joke treats `@ts-ignore` as a yellow-card-worthy offense for ignoring a type error. It is used as a reaction to questionable or lazy TypeScript code that suppresses compiler warnings.
football referee / футбольный судьяfootball player in red jersey / футболист в красной формеyellow card / жёлтая карточкаgreen card / зелёная карточкаfootball field / футбольное полеgrass / траваwhite sideline / белая боковая линияred sports jersey / красная спортивная формаyellow referee shirt / жёлтая форма судьиwristwatch / наручные часыTypeScript error popup / всплывающее окно ошибки TypeScriptcode snippet / фрагмент кодаyellow border / жёлтая рамкаscoreboard / табло
- @profunctor_io / 9227 2023-09-10
- Template
- Referee Yellow Card
- Type
- image
- Size
- 800×762 · 88.2 KiB
- Mood
- sarcastic
- Language
- en
- Added