×

We use cookies to help make LingQ better. By visiting the site, you agree to our cookie policy.

image

Programming, TypeScript in 100 Seconds

TypeScript in 100 Seconds

[Music]

typescript validate your javascript

ahead of time with static type checking

javascript is a dynamic language where

we can do all kinds of crazy things

like reference variables that don't

exist or work with objects of an unknown

shape the code is interpreted by a

browser

but if your code is broken you won't

catch it until runtime when the browser

rows an error

typescript prevents errors like this

from ever happening by extending

javascript with types

the language is a strict superset of

javascript which means when you open up

a ts file you can write plain javascript

with all of its extra features

being completely optional but notice in

the code here how the ide

is providing feedback about using a

variable that doesn't exist

instead of fixing this issue weeks later

in a stack trace after the company has

lost millions of dollars we can fix it

right here right now

the reason we get this instant feedback

is because typescript behaves like a

compiled language

where javascript is the compilation

target you can run the typescript

compiler

using the tsc command it will take the

ts file and transpile it into vanilla

javascript

and you can choose any flavor of

javascript you want if you need to

target ancient browsers

and that means you can use the latest

and greatest syntax features of

javascript without having to worry if

they'll be supported in an older

environment your typescript project will

likely have a ts config file

which provides an infinite number of

ways to customize the behavior of the

compiler

but the primary goal of typescript is to

enable static typing

one way it achieves that is by allowing

you to annotate your code with types

we can strongly type a variable using a

colon followed by its type like a string

boolean or number

that's known as an explicit type if we

then try to assign its value as the

wrong type we get an error

alternatively if we set an initial value

it will implicitly infer the type

however there may be cases where you

want to opt out of this behavior

in which case you can annotate with the

any type that allows you to loosely type

or opt out of type checking when working

with an array

use brackets to strongly type a list in

addition you can define your own custom

types and interfaces

which is especially powerful when

working with objects the car interface

here defines various types

of the properties on an object we can

then apply the interface to a plain

javascript object

the beauty of having strongly typed code

is that we get autocomplete everywhere

in our ide

we don't have to jump back and forth to

documentation or dig through stack

traces to figure out why our code's not

working

if you like typescript as much as i do

consider becoming a pro member at

fireship io for the next few days

everything will be 40 off including

lifetime memberships thanks for watching

and i will see you in the next one

Learn languages from TV shows, movies, news, articles and more! Try LingQ for FREE

TypeScript in 100 Seconds TypeScript|в|секунд TypeScript|en|secondes TypeScript overview|in|one second TypeScript||Segundos TypeScript|in|Secondi TypeScript(1)||秒 TypeScript|| TypeScript|en|segundos TypeScript في 100 ثانية TypeScript in 100 Sekunden TypeScript in 100 Seconds 100秒でわかるTypeScript 100초 만에 배우는 타입스크립트 TypeScript w 100 sekund TypeScript em 100 segundos 100 Saniyede TypeScript 100 秒内完成 TypeScript TypeScript in 100 secondi TypeScript en 100 segundos TypeScript en 100 secondes TypeScript за 100 секунд

[Music] музыка musique Música Musica 音乐(1) [Música] [音乐] [Musica] [Música] [Musique] [Музыка]

typescript validate your javascript TypeScript|проверяет|ваш|JavaScript TypeScript|valider|votre|JavaScript typescript|validate|your|JavaScript |valida||typescript typescript|valida|il tuo|javascript ||你的|JavaScript 代码 typescript|zweryfikować|twój|javascript typescript|перевірити||javascript typescript|valida|tu|javascript المطبوع عليه التحقق من صحة جافا سكريبت الخاص بك typescript validar o seu javascript typescript 验证你的 javascript typescript convalida il tuo javascript typescript valida tu javascript typescript valide votre javascript typescript проверяет ваш javascript

ahead of time with static type checking впереди|времени|времени|с|статической|тип|проверкой en avance|de|temps|avec|statique|type|vérification ahead||time|using|static||type validation antes||||estático|estático|verificação in anticipo|di|tempo|con|statico|tipo|controllo 提前|的|时间|使用|静态|类型|检查 por adelantado|de|tiempo|con|estático|tipo|verificación заздалегід|||||тип|перевірка z wyprzedzeniem||||statycznym|typ|sprawdzanie في وقت مبكر مع فحص نوع ثابت 提前进行静态类型检查 in anticipo con il controllo statico dei tipi por adelantado con verificación de tipos estática à l'avance avec une vérification de type statique заранее с помощью статической типизации

javascript is a dynamic language where джаваскрипт|есть|один|динамический|язык|где javascript|est|une|dynamique|langue|où |||dinâmica|| javascript|è|una|dinamica|lingua|dove |是|一种|动态|语言|在其中 |||динамічна|мова| javascript|es|un|dinámica|lenguaje|donde جافا سكريبت هي لغة ديناميكية حيث javascript è un linguaggio dinamico in cui javascript es un lenguaje dinámico donde javascript est un langage dynamique où javascript - это динамический язык, где

we can do all kinds of crazy things мы|можем|делать|все|виды|из|сумасшедшие|вещи nous|pouvons|faire|toutes|sortes|de|folles|choses ||||tipos||loucas| noi|possiamo|fare|tutti|tipi|di|pazzi|cose 我们||做|所有|各种|各种|疯狂的|事情 nosotros|podemos|hacer|todo|tipos|de|locos|cosas ||||різні||божевільні| |możemy|||rodzajów||| يمكننا القيام بكل أنواع الأشياء المجنونة 我们可以做各种疯狂的事情 possiamo fare tutti i tipi di cose pazze podemos hacer todo tipo de cosas locas nous pouvons faire toutes sortes de choses folles мы можем делать всевозможные безумные вещи

like reference variables that don't как|ссылаться|переменные|которые|не comme|référencer|variables|qui|ne |referência|variáveis|| come|riferimento|variabili|che|non |referencja||| |посилання|змінні||не como|referencia|variables|que|no مثل المتغيرات المرجعية التي لا come fare riferimento a variabili che non como referenciar variables que no comme référencer des variables qui n'existent pas например, ссылаться на переменные, которые не

exist or work with objects of an unknown |||||||неизвестный موجودة أو تعمل مع أشياء مجهولة esistono o lavorare con oggetti di un tipo sconosciuto existen o trabajar con objetos de un desconocido ou travailler avec des objets inconnus существуют, или работать с объектами неизвестного

shape the code is interpreted by a форма|этот|код|есть|интерпретируется|браузером| forme|le|code|est|interprété|par|un ||||executed|| forma||||interpretado|| forma|il|codice|è|interpretato|da|un ||||інтерпретується|| forma|el|código|es|interpretado|por|un شكل الكود يتم تفسيره بواسطة أ la forma in cui il codice è interpretato da un la forma en que el código es interpretado por un la forme du code est interprétée par un форма, в которой код интерпретируется

browser браузер navigateur browser navegador navegador المتصفح browser navegador navigateur браузером

but if your code is broken you won't но|если|твой|код|есть|сломан|ты|не будешь mais|si|votre|code|est|cassé|vous|ne |||||quebrado|| ma|se|tuo|codice|è|rotto|tu|non |||||непрацююч|| pero|si|tu|código|está|roto|tú|no lo harás ولكن إذا تم كسر الكود الخاص بك ، فلن تفعل ذلك ma se il tuo codice è rotto non lo pero si tu código está roto no lo mais si votre code est cassé, vous ne le но если ваш код сломан, вы не

catch it until runtime when the browser ||||||браузер قبض عليه حتى وقت التشغيل عندما المتصفح catturerai fino all'esecuzione quando il browser captarás hasta el tiempo de ejecución cuando el navegador détecterez pas avant l'exécution lorsque le navigateur поймаете это до времени выполнения, когда браузер

rows an error строки|ошибка|ошибка lignes|une|erreur righe|un|errore linhas(1)||um erro filas|un|error صفوف خطأ righe un errore filas un error les lignes une erreur строки ошибка

typescript prevents errors like this typescript|предотвращает|ошибки|такие|это typescript|empêche|erreurs|comme|celle-ci |previne|erros|| typescript|previene|errori|come|questo typescript|previene|errores|como|esto المطبوع عليه يمنع أخطاء مثل هذا typescript previene errori come questo typescript previene errores como este typescript empêche des erreurs comme celle-ci typescript предотвращает такие ошибки

from ever happening by extending от|когда-либо|происходить|путем|расширяя de|jamais|se produire|en|étendant ||||prolonging ||acontecendo|| da|mai|accadere|estendendo|estendendo de|nunca|sucediendo|por|extender من أي وقت مضى عن طريق التوسع da accadere mai estendendo de suceder jamás al extender de se produire en étendant от того, чтобы они когда-либо происходили, расширяя

javascript with types javascript|с|типами javascript|avec|types javascript|con|tipi javascript|con|tipos جافا سكريبت بأنواعها javascript con tipi javascript con tipos javascript avec des types javascript типами

the language is a strict superset of этот|язык|есть|строгий|строгий|надмножество|из le|langage|est|un|strict|surensemble|de ||||fully inclusive of|includes entirely| |||||um superconjunto| ||||katı|üst küme| la|lingua|è|un|rigoroso|superset|di |||||superset| el|lenguaje|es|un|estricto|superconjunto|de اللغة هي مجموعة شاملة صارمة من il linguaggio è un superset rigoroso di el lenguaje es un superconjunto estricto de le langage est un sur-ensemble strict de язык является строгим надмножеством

javascript which means when you open up javascript|который|означает|когда|ты|открываешь|вверх javascript|ce qui|signifie|quand|tu|ouvres| javascript|che|significa|quando|tu|apri|su javascript|lo que|significa|cuando|tú|abres|arriba جافا سكريبت وهو ما يعني عندما تفتح javascript il che significa che quando apri un javascript lo que significa que cuando abres un javascript ce qui signifie que lorsque vous ouvrez un javascript, что означает, что когда вы открываете

a ts file you can write plain javascript файл|ts|файл|ты|можешь|писать|простой|javascript un|ts|fichier|tu|peux|écrire|simple|javascript |um arquivo ts(1)|arquivo||||simples| un|ts|file|puoi||scrivere|semplice|javascript |ts|||||| un|archivo ts|archivo|tú|puedes|escribir|simple|javascript ts يمكنك كتابة جافا سكريبت عادي file ts puoi scrivere javascript semplice archivo ts puedes escribir javascript puro fichier ts vous pouvez écrire du javascript pur файл ts, вы можете писать обычный javascript

with all of its extra features с|всеми|из|его|дополнительными|функциями avec|toutes|de|ses|supplémentaires|fonctionnalités |||||características con|tutto|di|i suoi|extra|caratteristiche con|todas|de|sus|extra|características بكل ميزاته الإضافية con tutte le sue funzionalità extra con todas sus características adicionales avec toutes ses fonctionnalités supplémentaires со всеми его дополнительными функциями

being completely optional but notice in быть|полностью|необязательным|но|заметите|в étant|complètement|optionnel|mais|remarquez|dans ||entirely up to||| |completamente|opcional||observação| essere|completamente|facoltativo|ma|avviso|in siendo|completamente|opcional|pero|nota|en كونها اختيارية تمامًا ولكن لاحظ ذلك essere completamente facoltativo ma notare in siendo completamente opcional pero nota en étant complètement optionnel mais remarquez dans являясь совершенно необязательным, но обратите внимание на

the code here how the ide этот|код|здесь|как|этот|интегрированная среда разработки le|code|ici|comment|l'|IDE |||||ide il|codice|qui|come|l'|ide el|código|aquí|cómo|el|ide رمز هنا كيف بيئة تطوير متكاملة il codice qui come l'ide el código aquí cómo el ide le code ici comment l'ide код здесь, как IDE

is providing feedback about using a является|предоставляющим|обратную связь|о|использовании|одной est|fournissant|retour|sur|l'utilisation de|une |fornecendo|feedback||| sta|fornendo|feedback|riguardo|l'uso|un está|proporcionando|retroalimentación|sobre|usar|un يقدم ملاحظات حول استخدام ملف sta fornendo feedback sull'uso di una está proporcionando retroalimentación sobre el uso de una fournit des retours sur l'utilisation d'une предоставляет обратную связь о использовании

variable that doesn't exist переменной|которая|не|существует variable|qui|ne|existe pas variável||| variabile|che|non|esiste variable|que|no|existe zmienna||| متغير غير موجود variabile che non esiste variable que no existe variable qui n'existe pas переменной, которая не существует

instead of fixing this issue weeks later вместо|того чтобы|исправления|эту|проблему|недели|позже au lieu de|de|réparer|ce|problème|semaines|plus tard ||resolver||questão|| invece|di|risolvere|questo|problema|settimane|più tardi ||||problemu|| en lugar de|de|arreglar|este|problema|semanas|después بدلاً من إصلاح هذه المشكلة بعد أسابيع invece di risolvere questo problema settimane dopo en lugar de solucionar este problema semanas después au lieu de résoudre ce problème des semaines plus tard вместо того, чтобы исправлять эту проблему через несколько недель

in a stack trace after the company has в|стек||трассировка|после того как|компания||имеет dans|une|pile|trace|après que|la|entreprise|a ||call sequence||||| ||uma pilha|rastro|||empresa| in|un|stack|traccia|dopo|la|azienda|ha ||stogu||||| en|una|pila|traza|después de que|la|la empresa|ha in un stack trace dopo che l'azienda ha en un seguimiento de pila después de que la empresa haya dans une trace de pile après que l'entreprise ait в трассировке стека после того, как компания уже

lost millions of dollars we can fix it ||||nous|pouvons|réparer|cela |||dólares|||| perso|milioni|di|dollari|noi|possiamo|sistemare|esso perdimos|millones|de|dólares|nosotros|podemos|arreglar|eso perso milioni di dollari possiamo risolverlo perdido millones de dólares, podemos solucionarlo perdu des millions de dollars, nous pouvons le résoudre потеряла миллионы долларов, мы можем исправить это

right here right now proprio qui e ora aquí mismo, ahora mismo ici et maintenant здесь и сейчас

the reason we get this instant feedback этот|причина|мы|получаем|этот|мгновенный|отзыв la|raison|nous|obtenons|ce|instant|retour |||||imediato| il|motivo|noi|riceviamo|questo|immediato|feedback |||||natychmiastowe| |||||миттєвий| la|razón|nosotros|obtenemos|este|instantáneo|retroalimentación il motivo per cui otteniamo questo feedback immediato la razón por la que obtenemos esta retroalimentación instantánea la raison pour laquelle nous obtenons ce retour instantané причина, по которой мы получаем этот мгновенный отклик

is because typescript behaves like a есть|потому что|тайпскрипт|ведет себя|как|один est|parce que|typescript|se comporte|comme|un |||comporta-se|| è|perché|typescript|si comporta|come|un |||zachowuje|| |||поводиться|| es|porque|typescript|se comporta|como|un è perché typescript si comporta come un es porque typescript se comporta como un est que typescript se comporte comme un заключается в том, что typescript ведет себя как

compiled language компилируемый|язык compilé|langage compiled| compilato|linguaggio skompilowany| компільована| lenguaje compilado| linguaggio compilato lenguaje compilado langage compilé компилируемый язык

where javascript is the compilation где|джаваскрипт|есть|компиляция| où|javascript|est|la|compilation ||||JavaScript processing ||||compilação dove|javascript|è|la|compilazione ||||kompilacija ||||kompilacja ||||компіляція donde|javascript|está|la|compilación dove javascript è la compilazione donde javascript es la compilación où javascript est la compilation где javascript является компиляцией

target you can run the typescript цель|ты|можешь|запустить|артикль|TypeScript cible|tu|peux|exécuter|le|typescript typescript||||| obiettivo|tu|puoi|eseguire|il|typescript objetivo|tú|puedes|ejecutar|el|typescript typy skryptu||||| l'obiettivo puoi eseguire il typescript el objetivo es que puedes ejecutar el typescript cible vous pouvez exécuter le typescript цель, вы можете запустить TypeScript

compiler компилятор compilateur compilador compilatore compilador kompilator compilatore compilador compilateur компилятор

using the tsc command it will take the используя|артикль|tsc|команда|он|вспомогательный глагол|возьмет|артикль en utilisant|la|tsc|commande|cela|va|prendre|le ||tsc|comando|||| usando|il|tsc|comando|esso|(verbo ausiliare futuro)|richiederà|il ||tsc||||| ||tsc(1)|polecenie|||| usando|el|tsc|comando|eso|tomará|tomar|el utilizzando il comando tsc prenderà il usando el comando tsc, tomará el en utilisant la commande tsc cela prendra le используя команду tsc, она возьмет

ts file and transpile it into vanilla ||||||ванильный ts|fichier|et|transpiler|cela|en|vanilla |||Convert TypeScript||| |||transpile|||baunilha ts|file|e|transpila|esso|in|vanilla ts|archivo|y|transpilar|lo|en|vanilla |||транспілю|||чистий JavaScript |||transpiluj|||wanilia file ts e lo trasformerà in vanilla archivo ts y lo transpilará a vanilla fichier ts et le transpilera en vanilla файл ts и транспилирует его в обычный

javascript javascript javascript javascript javascript

and you can choose any flavor of e puoi scegliere qualsiasi versione di y puedes elegir cualquier sabor de et vous pouvez choisir n'importe quel type de и вы можете выбрать любой вариант

javascript you want if you need to javascript tu voglia se hai bisogno di javascript que desees si necesitas javascript que vous voulez si vous avez besoin de javascript, который вам нужен, если вам нужно

target ancient browsers mirare a browser antichi dirigirte a navegadores antiguos cibler les anciens navigateurs нацелиться на старые браузеры

and that means you can use the latest и|это|значит|ты|можешь|использовать|последний|новейший et|cela|signifie|tu|peux|utiliser|le|dernier |||||||mais recente e|ciò|significa|tu|puoi|usare|il|più recente |||||||najnowszy y|eso|significa|tú|puedes|usar|lo|último e questo significa che puoi utilizzare le ultime y eso significa que puedes usar las últimas et cela signifie que vous pouvez utiliser les dernières и это означает, что вы можете использовать последние

and greatest syntax features of и|величайшие|синтаксиса|особенности|языка et|plus grand|syntaxe|fonctionnalités|de |maiores|sintática|| e|maggiori|sintassi|caratteristiche|di |największe|słowosytuacja|| y|mayores|sintácticas|características|de e migliori funzionalità di sintassi di y mejores características de sintaxis de et les meilleures fonctionnalités de syntaxe de и лучшие синтаксические возможности

javascript without having to worry if javascript|без|имея|чтобы|беспокоиться|если javascript|sans|avoir|à|s'inquiéter|si javascript|senza|avere|a|preoccuparsi|se javascript|sin|tener que|que|preocuparse|si javascript senza dover preoccuparti se javascript sin tener que preocuparte si javascript sans avoir à vous soucier de savoir si javascript, не беспокоясь о том, будут ли они поддерживаться в более старой версии

they'll be supported in an older они будут|быть|поддерживаться|в|старом|более старом elles vont|être|supportées|dans|un|ancien eles||apoiados||| essi saranno|essere|supportati|in|un|più grande ellos|estarán|apoyados|en|un|mayor będą||wspierani||| saranno supportate in una versione precedente serán compatibles con una versión anterior elles seront prises en charge dans une version antérieure

environment your typescript project will окружение|ваш|typescript|проект|будет environnement|votre|typescript|projet|va |||projeto| ambiente|tuo|typescript|progetto|will |||projekt| entorno|tu|typescript|proyecto|va a l'ambiente del tuo progetto typescript avrà el entorno de tu proyecto de typescript tendrá l'environnement de votre projet typescript aura среда вашего проекта на typescript будет

likely have a ts config file вероятно|иметь|файл|ts|конфигурации|файл probablement|avoir|un|ts|config|fichier ||||configuração| probabilmente|avere|un|ts|configurazione|file probablemente|tener|un|ts|archivo de configuración|archivo prawdopodobnie||||ts config| probabilmente un file di configurazione ts probablemente un archivo de configuración ts probablement un fichier de configuration ts вероятно, иметь файл конфигурации ts

which provides an infinite number of который|предоставляет|бесконечное|бесконечное|количество|из qui|fournit|un|infini|nombre|de |||infinita|número| che|fornisce|un|infinito|numero|di la cual|proporciona|un|infinito|número|de |zapewnia||nieskończoną|| che fornisce un numero infinito di que proporciona un número infinito de qui offre un nombre infini de который предоставляет бесконечное количество

ways to customize the behavior of the способы|чтобы|настроить|поведение|поведение|из| façons|de|personnaliser|le|comportement|de| ||modify|||| ||personalizar|||| modi|a|personalizzare|il|comportamento|di|il ||dostosować|||| maneras|de|personalizar|el|comportamiento|de|el modi per personalizzare il comportamento del maneras de personalizar el comportamiento del façons de personnaliser le comportement de la способов настроить поведение

compiler compilatore compilador compilateur компилятор

but the primary goal of typescript is to ma l'obiettivo principale di typescript è quello di pero el objetivo principal de typescript es mais l'objectif principal de typescript est de но основной целью TypeScript является

enable static typing abilitare il typing statico habilitar la tipificación estática permettre le typage statique включение статической типизации

one way it achieves that is by allowing un modo in cui lo raggiunge è permettendo una forma en que lo logra es permitiendo une des façons d'y parvenir est de permettre один из способов, которым он этого достигает, заключается в том, что позволяет

you to annotate your code with types ты|чтобы|аннотировать|твой|код|с|типами tu|pour|annoter|ton|code|avec|types ||Label|||| ||anotar|||| ||belirtmek|||| tu|a|annotare|tuo|codice|con|tipi ||annotować|||| tú|que|anotar|tu|código|con|tipos ti invitiamo ad annotare il tuo codice con i tipi tú para anotar tu código con tipos vous devez annoter votre code avec des types вы должны аннотировать свой код с типами

we can strongly type a variable using a мы|можем|сильно|типизировать|одну|переменную|используя|один nous|pouvons|fortement|typer|une|variable|en utilisant|un ||fortemente||||| noi|possiamo|fortemente|digitare|una|variabile|usando|un ||mocno||||| nosotros|podemos|fuertemente|tipar|una|variable|usando|una possiamo tipizzare fortemente una variabile usando un podemos tipar fuertemente una variable usando un nous pouvons fortement typer une variable en utilisant un мы можем строго типизировать переменную, используя

colon followed by its type like a string двоеточие|следующее|за|её|тип|как|один|строка deux-points|suivi|par|son|type|comme|une|chaîne colon type string||||||| dois pontos|seguido||||||string due punti|seguito|da|il|tipo|come|un|stringa dwukropek|||||||a dos puntos|seguido|por|su|tipo|como|una|cadena due punti seguito dal suo tipo come una stringa dos puntos seguido de su tipo como una cadena deux-points suivi de son type comme une chaîne двоеточие, за которым следует его тип, например, строка

boolean or number булевый|или|число booléen|ou|nombre booleano|| booleano|o|numero boolean|o|número boolean(1)|| booleano o numero booleano o número booléen ou nombre логическое значение или число

that's known as an explicit type if we это|известно|как|один|явный|тип|если|мы cela est|connu|comme|un|explicite|type|si|nous ||||clearly defined type||| quello è|conosciuto|come|un|esplicito|tipo|se|noi ||||jawny||| eso|conocido|como|un|explícito|tipo|si|nosotros questo è conosciuto come un tipo esplicito se noi eso se conoce como un tipo explícito si nosotros cela est connu comme un type explicite si nous это известно как явный тип, если мы

then try to assign its value as the тогда|пытаемся||присвоить|его|значение|как| alors|essayons|à|assigner|sa|valeur|comme|le |||atribuir||valor|| poi|prova|a|assegnare|il suo|valore|come|il |||przypisz|||| entonces|intenta|a|asignar|su|valor|como|el poi proviamo ad assegnare il suo valore come il entonces intentamos asignar su valor como el essayons ensuite d'assigner sa valeur comme le затем пытаемся присвоить его значение как

wrong type we get an error ||мы||| mauvais|type|nous|obtenons|une|erreur sbagliato|tipo|noi|otteniamo|un|errore tipo incorrecto|tipo|nosotros|obtenemos|un|error tipo sbagliato otteniamo un errore tipo incorrecto, obtenemos un error mauvais type, nous obtenons une erreur неправильный тип, мы получаем ошибку

alternatively if we set an initial value in alternativa se impostiamo un valore iniziale alternativamente, si establecemos un valor inicial alternativement, si nous définissons une valeur initiale в противном случае, если мы установим начальное значение

it will implicitly infer the type это|будет|неявно|выводить|тип| cela|futur|implicitement|inférer|le|type ||in a way|deduce|| ||implicitamente|inferir|| ||örtük olarak||| esso|(verbo ausiliare futuro)|implicitamente|dedurre|il|tipo ||implicitnie|wnioskować|| eso|(verbo auxiliar futuro)|implícitamente|inferir|el|tipo inferredirà implicitamente il tipo implícitamente inferirá el tipo il inférera implicitement le type он неявно выведет тип

however there may be cases where you однако|там|может|быть|случаи|где|ты cependant|il|peut|être|cas|où|vous ||||casos|| tuttavia|ci|potrebbero|essere|casi|dove|tu ||||przypadki|| sin embargo|puede haber|casos|donde|tú|| tuttavia potrebbero esserci casi in cui tu sin embargo, puede haber casos en los que tú cependant, il peut y avoir des cas où vous однако могут быть случаи, когда вы

want to opt out of this behavior хочешь|к|отказаться|от|этого|поведение| voulez|à|opter|hors|de|ce|comportement ||choose to leave|||| ||optar|||| voglio|a|rinunciare|a|a|questo|comportamento ||zrezygnować|||| quiero|a|optar|salir|de|este|comportamiento vuoi disattivare questo comportamento quieras optar por no participar en este comportamiento voulez vous soustraire de ce comportement захотите отказаться от этого поведения

in which case you can annotate with the в|который|случай|ты|можешь|аннотировать|с| dans|lequel|cas|vous|pouvez|annoter|avec|le |||||add notes|| in|quale|caso|tu|puoi|annotare|con|l' en|cuál|caso|tú|puedes|anotar|con|el nel qual caso puoi annotare con il en cuyo caso puedes anotar con el dans ce cas, vous pouvez annoter avec le в этом случае вы можете аннотировать с помощью

any type that allows you to loosely type qualsiasi tipo che ti consente di digitare in modo flessibile cualquier tipo que te permita tipar de manera flexible tout type qui vous permet de taper de manière lâche любой тип, который позволяет вам использовать свободную типизацию

or opt out of type checking when working o rinunciare al controllo dei tipi quando lavori o optar por no hacer comprobaciones de tipo al trabajar ou de renoncer à la vérification de type lors de l'utilisation или отказаться от проверки типов при работе

with an array con un array con un arreglo d'un tableau с массивом

use brackets to strongly type a list in usa le parentesi per digitare fortemente un elenco in usa corchetes para tipar fuertemente una lista en utilisez des crochets pour taper fortement une liste dans используйте скобки, чтобы строго типизировать список в

addition you can define your own custom дополнение|ты|можешь|определить|свои|собственные|пользовательские addition|tu|peux|définir|ton|propre|personnalisé aggiunta|tu|puoi|definire|tuo|proprio|personalizzato adição|||definir||sua|personalizada adición|tú|puedes|definir|tu|propio|personalizado in aggiunta puoi definire i tuoi custom además puedes definir tus propios personalizados de plus, vous pouvez définir vos propres personnalisés в дополнение вы можете определить свои собственные пользовательские

types and interfaces типы|и|интерфейсы types|et|interfaces ||interfaces ||interfaces tipi||interfacce tipos|y|interfaces tipi e interfacce tipos e interfaces types et interfaces типы и интерфейсы

which is especially powerful when который|является|особенно|мощным|когда ce qui|est|particulièrement|puissant|quand ||especialmente|poderosa| che|è|soprattutto|potente|quando cuál|es|especialmente|poderoso|cuando che è particolarmente potente quando lo cual es especialmente poderoso cuando ce qui est particulièrement puissant lorsque что особенно мощно при

working with objects the car interface работаешь|с|объектами|этот|автомобиль|интерфейс travaillant|avec|objets|l'|voiture|interface lavorare|con|oggetti|l'|auto|interfaccia trabajando|con|objetos|la|interfaz|de carro lavori con oggetti l'interfaccia auto trabajas con objetos la interfaz de coche vous travaillez avec des objets, l'interface de la voiture работе с объектами интерфейса автомобиля

here defines various types здесь|определяет|различные|типы ici|définit|divers|types |define|| qui|definisce|vari|tipi aquí|define|varios|tipos qui definisce vari tipi aquí se definen varios tipos ici définit divers types здесь определяются различные типы

of the properties on an object we can из|этих|свойств|на|объекте||мы|можем des|les|propriétés|sur|un|objet|nous|pouvons ||as propriedades|||um objeto|| delle|le|proprietà|su|un|oggetto|noi|possiamo de|las|propiedades|sobre|un|objeto|nosotros|podemos delle proprietà su un oggetto che possiamo de las propiedades de un objeto que podemos des propriétés d'un objet que nous pouvons свойств объекта, к которому мы можем

then apply the interface to a plain затем|применить|интерфейс||к|простому| ensuite|appliquer|l'|interface|à|un|simple |||interface||| poi|applica|il|interfaccia|a|un|piano entonces|aplica|la|interfaz|a|un|llano poi applicare all'interfaccia a un semplice luego aplicar a un objeto de javascript simple ensuite appliquer à un objet javascript ordinaire затем применить интерфейс к простому

javascript object javascript|объекту oggetto javascript объекту javascript

the beauty of having strongly typed code этот|красота|иметь|имея|сильно|типизированный|код la|beauté|de|avoir|fortement|typé|code |a beleza||||tipada| la|bellezza|di|avere|fortemente|tipizzato|codice la|belleza|de|tener|fuertemente|tipado|código la bellezza di avere codice fortemente tipizzato la belleza de tener código fuertemente tipado la beauté d'avoir un code fortement typé красота сильно типизированного кода

is that we get autocomplete everywhere есть|что|мы|получаем|автозаполнение|повсюду est|que|nous|obtenons|autocomplétion|partout ||||autocompletar| è|che|noi|otteniamo|completamento automatico|ovunque es|eso|nosotros|obtenemos|autocompletado|en todas partes è che otteniamo il completamento automatico ovunque es que obtenemos autocompletado en todas partes c'est que nous avons l'autocomplétion partout в том, что мы получаем автозаполнение повсюду

in our ide в|нашем|интегрированной среде разработки dans|notre|IDE nel|nostro|ide en|nuestro|ide nel nostro ide en nuestro ide dans notre IDE в нашей среде разработки

we don't have to jump back and forth to мы|не|имеем|чтобы|прыгать|назад|и|вперед|к nous|ne|avons|à|sauter|en arrière|et|en avant|à |||||||para trás e para frente| noi|non|abbiamo|a|saltare|indietro|e|avanti|a nosotros|no|tenemos|que|saltar|hacia atrás|y|adelante|a non dobbiamo saltare avanti e indietro per no tenemos que saltar de un lado a otro para nous n'avons pas à sauter en avant et en arrière pour нам не нужно прыгать туда-сюда

documentation or dig through stack документация|или|копать|через|стек documentation|ou|fouiller|à travers|pile documentazione|o|scavare|attraverso|stack documentação|||| documentación|o|excavar|a través de|pila documentazione o scavare attraverso lo stack documentación o investigar en la pila documentation ou fouiller dans la pile документация или копаться в стеке

traces to figure out why our code's not следы|чтобы|понять|выяснить|почему|наш|код не|не traces|pour|comprendre|dehors|pourquoi|notre|code ne|pas investigates||||||| rastreia||figura(1)||||código| tracce|per|capire|fuori|perché|nostro|codice|non rastros|para|averiguar|por qué|por qué|nuestro||no tracce per capire perché il nostro codice non de trazas para averiguar por qué nuestro código no des traces pour comprendre pourquoi notre code ne трассировки, чтобы выяснить, почему наш код не

working работает fonctionne lavorando trabajando funziona funciona fonctionne pas работает

if you like typescript as much as i do если|ты|любишь|typescript|так|много|как|я|делаю si|tu|aimes|typescript|autant que|beaucoup|que|je|fais se|tu|piace|typescript|tanto|quanto|come|io|(lo) si|tú|te gusta|typescript|tanto como|mucho|como|yo|(a mí) se ti piace typescript tanto quanto a me si te gusta typescript tanto como a mí si tu aimes typescript autant que moi если вам нравится TypeScript так же, как и мне

consider becoming a pro member at рассмотреть|становление|членом|профессиональным|членом|на envisager|devenir|un|pro|membre|chez |||um|membro| considera|diventare|un|professionista|membro|presso considera|convertirte|un|profesional|miembro|en considera di diventare un membro pro su considera convertirte en miembro pro en envisagez de devenir membre pro sur рассмотрите возможность стать профессиональным членом на

fireship io for the next few days fireship|io|на|следующие|несколько|дней| fireship|io|pour|les|prochains|quelques|jours fireship.io website|||||| navio de fogo|io|||||dias fireship|io|per|i|prossimi|pochi|giorni fireship|io|por|los|próximos|pocos|días fireship io per i prossimi giorni fireship io durante los próximos días fireship io pour les prochains jours fireship io в течение следующих нескольких дней

everything will be 40 off including все|будет|быть|скидка|включая tout|futur|être|de réduction|y compris tutto|sarà|essere|sconto|incluso todo|estará|(verbo auxiliar)|descuento|incluyendo tutto sarà scontato del 40% incluso todo estará a 40 de descuento incluyendo tout sera à 40 de réduction y compris всё будет со скидкой 40, включая

lifetime memberships thanks for watching пожизненные|подписки|спасибо|за|просмотр à vie|abonnements|merci|pour|regarder a vita|abbonamenti|grazie|per|aver guardato vitalícia|associações||| membresías de por vida|membresías|gracias|por|ver abbonamenti a vita grazie per aver guardato membresías de por vida gracias por ver les abonnements à vie merci de regarder пожизненные членства, спасибо за просмотр

and i will see you in the next one и|я|буду|видеть|тебя|в|следующем|следующем|видео et|je|verrai|voir|toi|dans|le|prochain|vidéo e|io|(verbo ausiliare futuro)|vedrò|te|nel|il|prossimo|video y|yo|(verbo auxiliar futuro)|veré|a ti|en|el|siguiente|uno e ci vediamo nel prossimo y te veré en el próximo et je te verrai dans le prochain и я увижу тебя в следующий раз

SENT_CWT:AFkKFwvL=3.17 PAR_TRANS:gpt-4o-mini=1.64 SENT_CWT:ANplGLYU=4.1 PAR_TRANS:gpt-4o-mini=2.33 PAR_TRANS:gpt-4o-mini=1.57 PAR_CWT:AvJ9dfk5=2.41 PAR_TRANS:gpt-4o-mini=6.48 PAR_CWT:AvJ9dfk5=35.37 it:AFkKFwvL es:ANplGLYU fr:AvJ9dfk5 ru:AvJ9dfk5 openai.2025-02-07 ai_request(all=46 err=4.35%) translation(all=89 err=1.12%) cwt(all=519 err=22.74%)