{"id":3941,"date":"2020-09-24T08:52:00","date_gmt":"2020-09-24T08:52:00","guid":{"rendered":"http:\/\/the-codest.localhost\/blog\/why-you-should-probably-use-typescript\/"},"modified":"2026-04-27T09:49:47","modified_gmt":"2026-04-27T09:49:47","slug":"perche-probabilmente-dovreste-usare-il-dattiloscritto","status":"publish","type":"post","link":"https:\/\/thecodest.co\/it\/blog\/why-you-should-probably-use-typescript\/","title":{"rendered":"Perch\u00e9 si dovrebbe (probabilmente) usare Typescript"},"content":{"rendered":"<p>Posizione attuale di <a href=\"https:\/\/thecodest.co\/it\/dictionary\/typescript-developer\/\">Dattiloscritto<\/a> non \u00e8 arrivata dal nulla, perch\u00e9 questa tecnologia \u00e8 in grado di migliorare realmente l'esperienza degli sviluppatori. Una codifica pi\u00f9 esplicita aumenta il controllo e la prevedibilit\u00e0 di <a href=\"https:\/\/thecodest.co\/it\/dictionary\/what-is-code-refactoring\/\">codice<\/a>.<br>In questo articolo cercher\u00f2 di convincervi a usare Typescript.<\/p>\n\n\n\n<p>*- <a href=\"https:\/\/thecodest.co\/it\/blog\/app-data-collection-security-risks-value-and-types-explored\/\">Dati<\/a> fonte: <a href=\"https:\/\/2020.stateofjs.com\/en-US\/technologies\/javascript-flavors\/\">Stato di JS 2020<\/a> e <a href=\"https:\/\/insights.stackoverflow.com\/survey\/2020#most-loved-dreaded-and-wanted\">Sondaggio sugli sviluppatori di Stack Overflow 2020<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Scoprire prima gli errori<\/h2>\n\n\n\n<p>Di solito, quando si sviluppa un'applicazione in <a href=\"https:\/\/thecodest.co\/it\/blog\/hire-javascript-developer\/\">JavaScript<\/a>Il flusso potrebbe<br>sembrano essere cos\u00ec:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Cambiamento,<\/li>\n\n\n\n<li>Andare all'applicazione e controllare la parte modificata \/ Eseguire i test (correlati).<\/li>\n\n\n\n<li>Scoprite se tutto \u00e8 a posto.<\/li>\n<\/ol>\n\n\n\n<p>Con Typescript, si pu\u00f2 effettivamente apportare la modifica e se c'\u00e8 qualche <strong>errore di tipo<\/strong> nel codice, lo saprete immediatamente grazie al messaggio di errore del compilatore o al feedback in tempo reale dell'IDE.<br>Naturalmente, il compilatore Typescript non risolver\u00e0 tutti i problemi e non avviser\u00e0 di tutti i bug, ma il suo aiuto potrebbe essere prezioso.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Migliore completamento della sintassi negli IDE<\/h2>\n\n\n\n<p>\u00c8 molto semplice. Se si utilizzano buoni IDE, come WebStorm o VSCode, si otterranno<br>migliore completamento della sintassi con Typescript. Forse non sembra un grande miglioramento dell'esperienza dello sviluppatore, ma alla fine ogni singolo miglioramento \u00e8 importante perch\u00e9 potrebbe salvare <a href=\"https:\/\/thecodest.co\/it\/blog\/why-us-companies-are-opting-for-polish-developers\/\">noi<\/a> e, ancora una volta, evitare un errore di battitura o un errore. Inoltre, possiamo definire il nostro tipo o interfaccia una volta sola; non dovendo ricordare sempre la struttura, possiamo concentrarci sulla scrittura della logica di business.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/code.png\" alt=\"codice\" title=\"Codice JS\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/js-code.png\" alt=\"Codice JS\" title=\"codice\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Rifattorizzazione meno dolorosa<\/h2>\n\n\n\n<p>Immaginiamo di dover rifattorizzare per qualsiasi motivo, ad esempio, di aver aderito a un progetto <a href=\"https:\/\/thecodest.co\/it\/dictionary\/why-do-projects-fail\/\">progetto<\/a> e si riceve il compito di aggiungere una nuova funzionalit\u00e0, ma questa \u00e8 in qualche modo collegata al codice legacy.<br>Typescript pu\u00f2 renderlo pi\u00f9 facile e meno doloroso, perch\u00e9 quando si fa una modifica e c'\u00e8 un altro punto in cui si deve fare un'altra modifica, il compilatore ci avvisa di questo.<\/p>\n\n\n\n<p>Ad esempio, potrebbe trattarsi di una firma di funzione modificata o magari, dopo la modifica, di un<br>restituir\u00e0 qualcosa di completamente diverso, quindi anche il tipo restituito sar\u00e0 diverso.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Essere pi\u00f9 sicuri della base di codice<\/h2>\n\n\n\n<p>JavaScript \u00e8 tipizzato in modo debole e dinamico, quindi quando si inizializza una variabile con il valore <code>lasciare la query = ''<\/code> pi\u00f9 avanti nel codice, lo sviluppatore potrebbe fare qualcosa di irrazionale per errore, per esempio <code>query = true<\/code>e sar\u00e0 valido <a href=\"https:\/\/thecodest.co\/it\/blog\/hire-vue-js-developers\/\">JS<\/a> codice.<\/p>\n\n\n\n<p>In un codice ben scritto, l'assegnazione di un valore booleano a una variabile che in precedenza era una stringa non dovrebbe avvenire. Quindi, di solito, l'assegnazione con cambio di tipo deriva da un errore.<\/p>\n\n\n\n<p>Quando si usa Typescript, non si pu\u00f2 cambiare il tipo di variabile, quindi se si rende la variabile <code>lasciare la query = ''<\/code> sar\u00e0 <code>stringa<\/code> e non potremo cambiare il suo tipo per errore.<\/p>\n\n\n\n<p>Se vogliamo che una variabile sia di pi\u00f9 tipi, lo facciamo sempre in modo esplicito usando il tipo union, ad esempio <code>stringa | numero<\/code>.<\/p>\n\n\n\n<p>Pertanto, Typescript rende il nostro codice pi\u00f9 prevedibile ed esplicito.<br>Inoltre, Typescript si occupa dell'esplicitezza nell'analisi del flusso di controllo e se c'\u00e8 la possibilit\u00e0 che qualcosa vada storto, vi avvisa.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/code-sample.png\" alt=\"esempio di codice\" title=\"esempio di codice\"\/><\/figure>\n\n\n\n<p>Qui in esempio nel primo <code>se<\/code> si otterr\u00e0 un errore:<\/p>\n\n\n\n<p><code>TS2339: La propriet\u00e0 \"battery\" non esiste sul tipo \"ClothingProduct\".<\/code> 2 volte, per <code>batteria<\/code>, e <code>ariete<\/code> propriet\u00e0.<\/p>\n\n\n\n<p>Nel secondo blocco - <code>altro<\/code>, otterremo questo errore per <code>dimensione<\/code> propriet\u00e0. Naturalmente, si tratta solo di un esempio per mostrare come <a href=\"https:\/\/www.typescriptlang.org\/docs\/handbook\/2\/narrowing.html#discriminated-unions\">sindacati discriminati<\/a> e <a href=\"https:\/\/www.typescriptlang.org\/docs\/handbook\/2\/narrowing.html#control-flow-analysis\">analisi del flusso di controllo<\/a> funziona in Typescript, quindi non stiamo facendo nulla di troppo complesso con quel codice.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Migrazione semplice e progressiva dall'JavaScript<\/h2>\n\n\n\n<p>Il codice JavaScript valido \u00e8 allo stesso tempo codice Typescript valido, quindi \u00e8 possibile migrare la propria base di codice passo dopo passo. Di solito, l'uso della modalit\u00e0 strict in Typescript \u00e8 una buona pratica, ma in questo caso,<br>dobbiamo iniziare con <code>\"strict\": false<\/code> in <code>tsconfig.json<\/code> e dovremmo anche impostare altre due opzioni.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"javascript\" class=\"language-javascript\">\"allowJs\": true, \/\/ ci permetter\u00e0 di usare file .js e il tipo non verr\u00e0 controllato in essi\n\"skipLibCheck\": true \/\/ salter\u00e0 il controllo dei tipi nelle librerie che utilizziamo<\/code><\/pre>\n\n\n\n<p>Con queste opzioni, possiamo migrare da JS a TS passo dopo passo - file per file, cambiando semplicemente l'estensione da <code>.js(x)<\/code> a <code>.ts(x)<\/code> e l'aggiunta di tipi nei file. Utilizzando questo approccio, si possono evitare centinaia o migliaia di spaventosi errori di compilazione.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Sintesi<\/h2>\n\n\n\n<p>Penso che dovremmo usare <b>Dattiloscritto<\/b> spesso come <strong>possibile<\/strong>perch\u00e9 \u00e8 davvero vantaggioso a lungo termine. Aiuta a mantenere i progetti, aumenta l'esperienza degli sviluppatori e rende la nostra base di codice pi\u00f9 esplicita e affidabile.<\/p>\n\n\n\n<p>Tuttavia, come sempre, ci sono delle eccezioni: ad esempio, per una semplice pagina di destinazione<br>Se JavaScript viene utilizzato solo per alternare le classi o per un altro caso semplice, Typescript non ha senso.<br>Inoltre, dobbiamo ricordare che per sfruttare appieno Typescript, dobbiamo imparare a usarlo a un livello sufficiente e questo pu\u00f2 richiedere del tempo. Penso che sia comunque un investimento molto proficuo del vostro tempo.<\/p>\n\n\n\n<p><strong>Per saperne di pi\u00f9:<\/strong><\/p>\n\n\n\n<p><a href=\"https:\/\/thecodest.co\/blog\/ruby-3-0-ruby-and-lesser-known-privacy-control-methods\/\">Ruby 3.0. Ruby e i metodi di controllo della privacy meno conosciuti<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/thecodest.co\/blog\/highest-quality-code-in-your-saas-project\/\">La massima qualit\u00e0 del codice nel vostro progetto SaaS. Perch\u00e9 dovrebbe interessarvi come fondatore (non tecnico)?<\/a><\/p>\n\n\n\n<p><em>*La grafica del titolo proviene dal sito web Know Your Meme.<\/em><\/p>","protected":false},"excerpt":{"rendered":"<p>Tutti coloro che utilizzano l'ecosistema JavaScript conoscono oggi Typescript. Typescript \u00e8 una delle tecnologie pi\u00f9 amate* e il suo utilizzo \u00e8 in costante aumento (la quota di utilizzo \u00e8 passata da 52% nel 2018 a 78% nel 2020)*.<\/p>","protected":false},"author":2,"featured_media":3942,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[8],"tags":[],"class_list":["post-3941","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-development"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Why you should (probably) use Typescript - The Codest<\/title>\n<meta name=\"description\" content=\"Everyone who use JavaScript ecosystem is nowadays aware of Typescript. Typescript is one of the most beloved technologies* and its usage is constantly increasing (usage share increased from 52% in 2018 to 78% in 2020)*.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/thecodest.co\/it\/blog\/perche-probabilmente-dovreste-usare-il-dattiloscritto\/\" \/>\n<meta property=\"og:locale\" content=\"it_IT\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Why you should (probably) use Typescript\" \/>\n<meta property=\"og:description\" content=\"Everyone who use JavaScript ecosystem is nowadays aware of Typescript. Typescript is one of the most beloved technologies* and its usage is constantly increasing (usage share increased from 52% in 2018 to 78% in 2020)*.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/thecodest.co\/it\/blog\/perche-probabilmente-dovreste-usare-il-dattiloscritto\/\" \/>\n<meta property=\"og:site_name\" content=\"The Codest\" \/>\n<meta property=\"article:published_time\" content=\"2020-09-24T08:52:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-27T09:49:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/typescript.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1280\" \/>\n\t<meta property=\"og:image:height\" content=\"720\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"thecodest\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"thecodest\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minuti\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/\"},\"author\":{\"name\":\"thecodest\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/person\\\/7e3fe41dfa4f4e41a7baad4c6e0d4f76\"},\"headline\":\"Why you should (probably) use Typescript\",\"datePublished\":\"2020-09-24T08:52:00+00:00\",\"dateModified\":\"2026-04-27T09:49:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/\"},\"wordCount\":787,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/typescript.png\",\"articleSection\":[\"Software Development\"],\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/\",\"url\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/\",\"name\":\"Why you should (probably) use Typescript - The Codest\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/typescript.png\",\"datePublished\":\"2020-09-24T08:52:00+00:00\",\"dateModified\":\"2026-04-27T09:49:47+00:00\",\"description\":\"Everyone who use JavaScript ecosystem is nowadays aware of Typescript. Typescript is one of the most beloved technologies* and its usage is constantly increasing (usage share increased from 52% in 2018 to 78% in 2020)*.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/#breadcrumb\"},\"inLanguage\":\"it-IT\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/#primaryimage\",\"url\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/typescript.png\",\"contentUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/05\\\/typescript.png\",\"width\":1280,\"height\":720},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/thecodest.co\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Why you should (probably) use Typescript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#website\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"name\":\"The Codest\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/thecodest.co\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"it-IT\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\",\"name\":\"The Codest\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/03\\\/thecodest-logo.svg\",\"contentUrl\":\"https:\\\/\\\/thecodest.co\\\/app\\\/uploads\\\/2024\\\/03\\\/thecodest-logo.svg\",\"width\":144,\"height\":36,\"caption\":\"The Codest\"},\"image\":{\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/pl.linkedin.com\\\/company\\\/codest\",\"https:\\\/\\\/clutch.co\\\/profile\\\/codest\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#\\\/schema\\\/person\\\/7e3fe41dfa4f4e41a7baad4c6e0d4f76\",\"name\":\"thecodest\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"it-IT\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g\",\"caption\":\"thecodest\"},\"url\":\"https:\\\/\\\/thecodest.co\\\/it\\\/author\\\/thecodest\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Perch\u00e9 si dovrebbe (probabilmente) usare Typescript - The Codest","description":"Tutti coloro che utilizzano l'ecosistema JavaScript conoscono oggi Typescript. Typescript \u00e8 una delle tecnologie pi\u00f9 amate* e il suo utilizzo \u00e8 in costante aumento (la quota di utilizzo \u00e8 passata da 52% nel 2018 a 78% nel 2020)*.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/thecodest.co\/it\/blog\/perche-probabilmente-dovreste-usare-il-dattiloscritto\/","og_locale":"it_IT","og_type":"article","og_title":"Why you should (probably) use Typescript","og_description":"Everyone who use JavaScript ecosystem is nowadays aware of Typescript. Typescript is one of the most beloved technologies* and its usage is constantly increasing (usage share increased from 52% in 2018 to 78% in 2020)*.","og_url":"https:\/\/thecodest.co\/it\/blog\/perche-probabilmente-dovreste-usare-il-dattiloscritto\/","og_site_name":"The Codest","article_published_time":"2020-09-24T08:52:00+00:00","article_modified_time":"2026-04-27T09:49:47+00:00","og_image":[{"width":1280,"height":720,"url":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/typescript.png","type":"image\/png"}],"author":"thecodest","twitter_card":"summary_large_image","twitter_misc":{"Written by":"thecodest","Est. reading time":"5 minuti"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/#article","isPartOf":{"@id":"https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/"},"author":{"name":"thecodest","@id":"https:\/\/thecodest.co\/#\/schema\/person\/7e3fe41dfa4f4e41a7baad4c6e0d4f76"},"headline":"Why you should (probably) use Typescript","datePublished":"2020-09-24T08:52:00+00:00","dateModified":"2026-04-27T09:49:47+00:00","mainEntityOfPage":{"@id":"https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/"},"wordCount":787,"commentCount":0,"publisher":{"@id":"https:\/\/thecodest.co\/#organization"},"image":{"@id":"https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/#primaryimage"},"thumbnailUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/typescript.png","articleSection":["Software Development"],"inLanguage":"it-IT","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/","url":"https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/","name":"Perch\u00e9 si dovrebbe (probabilmente) usare Typescript - The Codest","isPartOf":{"@id":"https:\/\/thecodest.co\/#website"},"primaryImageOfPage":{"@id":"https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/#primaryimage"},"image":{"@id":"https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/#primaryimage"},"thumbnailUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/typescript.png","datePublished":"2020-09-24T08:52:00+00:00","dateModified":"2026-04-27T09:49:47+00:00","description":"Tutti coloro che utilizzano l'ecosistema JavaScript conoscono oggi Typescript. Typescript \u00e8 una delle tecnologie pi\u00f9 amate* e il suo utilizzo \u00e8 in costante aumento (la quota di utilizzo \u00e8 passata da 52% nel 2018 a 78% nel 2020)*.","breadcrumb":{"@id":"https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/#breadcrumb"},"inLanguage":"it-IT","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/"]}]},{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/#primaryimage","url":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/typescript.png","contentUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/05\/typescript.png","width":1280,"height":720},{"@type":"BreadcrumbList","@id":"https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/thecodest.co\/"},{"@type":"ListItem","position":2,"name":"Why you should (probably) use Typescript"}]},{"@type":"WebSite","@id":"https:\/\/thecodest.co\/#website","url":"https:\/\/thecodest.co\/","name":"The Codest","description":"","publisher":{"@id":"https:\/\/thecodest.co\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/thecodest.co\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"it-IT"},{"@type":"Organization","@id":"https:\/\/thecodest.co\/#organization","name":"The Codest","url":"https:\/\/thecodest.co\/","logo":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/thecodest.co\/#\/schema\/logo\/image\/","url":"https:\/\/thecodest.co\/app\/uploads\/2024\/03\/thecodest-logo.svg","contentUrl":"https:\/\/thecodest.co\/app\/uploads\/2024\/03\/thecodest-logo.svg","width":144,"height":36,"caption":"The Codest"},"image":{"@id":"https:\/\/thecodest.co\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/pl.linkedin.com\/company\/codest","https:\/\/clutch.co\/profile\/codest"]},{"@type":"Person","@id":"https:\/\/thecodest.co\/#\/schema\/person\/7e3fe41dfa4f4e41a7baad4c6e0d4f76","name":"thecodest","image":{"@type":"ImageObject","inLanguage":"it-IT","@id":"https:\/\/secure.gravatar.com\/avatar\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5dbfe6a1e8c86e432e8812759e34e6fe82ebac75119ae3237a6c1311fa19caf4?s=96&d=mm&r=g","caption":"thecodest"},"url":"https:\/\/thecodest.co\/it\/author\/thecodest\/"}]}},"_links":{"self":[{"href":"https:\/\/thecodest.co\/it\/wp-json\/wp\/v2\/posts\/3941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecodest.co\/it\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecodest.co\/it\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecodest.co\/it\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thecodest.co\/it\/wp-json\/wp\/v2\/comments?post=3941"}],"version-history":[{"count":7,"href":"https:\/\/thecodest.co\/it\/wp-json\/wp\/v2\/posts\/3941\/revisions"}],"predecessor-version":[{"id":8171,"href":"https:\/\/thecodest.co\/it\/wp-json\/wp\/v2\/posts\/3941\/revisions\/8171"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecodest.co\/it\/wp-json\/wp\/v2\/media\/3942"}],"wp:attachment":[{"href":"https:\/\/thecodest.co\/it\/wp-json\/wp\/v2\/media?parent=3941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecodest.co\/it\/wp-json\/wp\/v2\/categories?post=3941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecodest.co\/it\/wp-json\/wp\/v2\/tags?post=3941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}