TypeScript

Important tsconfig flags

Në shqip: Opsionet kryesore të tsconfig

ShpjegimiSQ

Disa opsione që i sheh shpesh: strict (gjithë kontrollet), noImplicitAny (ndalon any të fshehtë), noEmit (vetëm kontrollo, mos krijo JS), esModuleInterop (import nga CommonJS), skipLibCheck (mos kontrollo tipet e librarive).

EnglishEN

Some options you'll see often: strict (all checks), noImplicitAny (forbids hidden any), noEmit (just check, don't output JS), esModuleInterop (importing from CommonJS), skipLibCheck (don't check libraries' types).

Si ta mendosh

Si cilësimet e sigurisë në një makinë të re.

Lexoje në anglisht

Like the safety settings on a new car.

Shembull kodijson

{ "compilerOptions": {
    "strict": true, "noEmit": true,
    "skipLibCheck": true, "esModuleInterop": true } }

Terma të lidhur