TypeScript

Escape hatches (any, as, !, @ts-ignore)

Në shqip: Daljet emergjente të TypeScript

ShpjegimiSQ

any, as, ! dhe // @ts-ignore e çaktivizojnë kontrollin e TS-së. Ndonjëherë duhen, por çdo përdorim është një vend ku mund të fshihet një gabim. Kërkoji në code review dhe shpjegoji me koment.

EnglishEN

any, as, ! and // @ts-ignore switch off TS's checks. Sometimes they're needed, but every use is a place a bug can hide. Look for them in code review and explain them with a comment.

Si ta mendosh

Si dalja emergjente: ekziston për një arsye, por s'e përdor çdo ditë.

Lexoje në anglisht

Like an emergency exit: it's there for a reason, but you don't use it every day.

Terma të lidhur