{"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":"waarom-je-waarschijnlijk-typescript-zou-moeten-gebruiken","status":"publish","type":"post","link":"https:\/\/thecodest.co\/nl\/blog\/why-you-should-probably-use-typescript\/","title":{"rendered":"Waarom je (waarschijnlijk) Typescript zou moeten gebruiken"},"content":{"rendered":"<p>Huidige positie van <a href=\"https:\/\/thecodest.co\/nl\/dictionary\/typescript-developer\/\">Typescript<\/a> kwam niet uit het niets, want die technologie kan de ervaring van onze ontwikkelaars echt verbeteren. Explicietere codering verhoogt de controle en voorspelbaarheid van <a href=\"https:\/\/thecodest.co\/nl\/dictionary\/what-is-code-refactoring\/\">code<\/a>.<br>In dit artikel zal ik je proberen te overtuigen om Typescript te gebruiken.<\/p>\n\n\n\n<p>*- <a href=\"https:\/\/thecodest.co\/nl\/blog\/app-data-collection-security-risks-value-and-types-explored\/\">Gegevens<\/a> bron: <a href=\"https:\/\/2020.stateofjs.com\/en-US\/technologies\/javascript-flavors\/\">Staat van JS 2020<\/a> en <a href=\"https:\/\/insights.stackoverflow.com\/survey\/2020#most-loved-dreaded-and-wanted\">Stack Overflow enqu\u00eate voor ontwikkelaars 2020<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ontdek fouten eerder<\/h2>\n\n\n\n<p>Als je een applicatie ontwikkelt in <a href=\"https:\/\/thecodest.co\/nl\/blog\/hire-javascript-developer\/\">JavaScript<\/a>kan je stroom<br>er als volgt uitzien:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Maak een verandering,<\/li>\n\n\n\n<li>Ga naar de app en bekijk het gewijzigde onderdeel \/ Voer (gerelateerde) tests uit.<\/li>\n\n\n\n<li>Zoek uit of alles in orde is.<\/li>\n<\/ol>\n\n\n\n<p>Met Typescript kun je de wijziging doorvoeren en als er een <strong>typefout<\/strong> in je code, dan weet je dat meteen dankzij de foutmelding van de compiler of de realtime feedback van de IDE.<br>Natuurlijk zal de Typescript compiler niet elk probleem oplossen en niet waarschuwen voor alle bugs, maar zijn hulp kan van onschatbare waarde zijn.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Betere syntaxaanvulling in IDE's<\/h2>\n\n\n\n<p>Het is heel eenvoudig. Als je goede IDE's gebruikt, zoals WebStorm of VSCode, krijg je<br>betere syntaxisaanvulling met Typescript. Misschien klinkt het niet als een enorme verbetering van de ervaring van ontwikkelaars, maar uiteindelijk is elke verbetering belangrijk omdat het kan besparen <a href=\"https:\/\/thecodest.co\/nl\/blog\/why-us-companies-are-opting-for-polish-developers\/\">us<\/a> tijd besparen en, nogmaals, een typefout of vergissing voorkomen. Ook kunnen we ons type of interface \u00e9\u00e9n keer defini\u00ebren; omdat we niet steeds de structuur hoeven te onthouden, kunnen we ons richten op het schrijven van bedrijfslogica.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/code.png\" alt=\"code\" title=\"JS-code\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/js-code.png\" alt=\"JS-code\" title=\"code\"\/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Minder pijnlijke refactoring<\/h2>\n\n\n\n<p>Stel je voor dat je om wat voor reden dan ook moet refactoren, bijvoorbeeld omdat je bij een <a href=\"https:\/\/thecodest.co\/nl\/dictionary\/why-do-projects-fail\/\">project<\/a> en je krijgt de opdracht om een nieuwe functie toe te voegen, maar die functie is op de een of andere manier verbonden met oudere code.<br>Typescript kan het makkelijker en minder pijnlijk maken, want als je een wijziging maakt en er is een andere plek waar je nog een wijziging moet maken, dan zal de compiler je daarvoor waarschuwen.<\/p>\n\n\n\n<p>Het kan bijvoorbeeld een gewijzigde functiehandtekening zijn of misschien na de wijziging een<br>functie zal iets totaal anders retourneren, dus ook het geretourneerde type zal verschillen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Meer vertrouwen hebben in de codebase<\/h2>\n\n\n\n<p>JavaScript is zwak en dynamisch getypeerd, dus als je een variabele initialiseert met de waarde <code>laat query = ''<\/code> later in de code kan de ontwikkelaar per ongeluk iets irrationeels doen, bijvoorbeeld <code>vraag = waar<\/code>en het zal geldig zijn <a href=\"https:\/\/thecodest.co\/nl\/blog\/hire-vue-js-developers\/\">JS<\/a> code.<\/p>\n\n\n\n<p>In goed geschreven code zou het toewijzen van een booleaanse waarde aan een variabele die eerder een string was, niet mogen gebeuren. Dus meestal is die toewijzing met typeverandering het gevolg van een fout.<\/p>\n\n\n\n<p>Wanneer we Typescript gebruiken, kunnen we het type van de variabele niet wijzigen, dus als we de <code>laat query = ''<\/code> variabele, zal het <code>string<\/code> type en kunnen we het type niet per ongeluk wijzigen.<\/p>\n\n\n\n<p>Als we een variabele meer dan \u00e9\u00e9n type willen laten zijn, doen we dat altijd expliciet met union type, bijvoorbeeld <code>tekenreeks | getal<\/code>.<\/p>\n\n\n\n<p>Daarom maakt Typescript onze code voorspelbaarder en explicieter.<br>Typescript zorgt ook voor explicietheid in controlestroomanalyse en als er een mogelijkheid is dat er iets fout kan gaan, zal het je waarschuwen.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"\/app\/uploads\/2024\/05\/code-sample.png\" alt=\"codevoorbeeld\" title=\"codevoorbeeld\"\/><\/figure>\n\n\n\n<p>Hier in voorbeeld in eerste <code>als<\/code> blok krijgen we een foutmelding:<\/p>\n\n\n\n<p><code>TS2339: Eigenschap 'batterij' bestaat niet op type 'Kledingproduct'.<\/code> 2 keer, voor <code>batterij<\/code>en <code>ram<\/code> eigenschappen.<\/p>\n\n\n\n<p>In tweede blok - <code>anders<\/code>krijgen we die foutmelding voor <code>maat<\/code> eigendom. Natuurlijk is dit slechts een voorbeeld om te laten zien hoe <a href=\"https:\/\/www.typescriptlang.org\/docs\/handbook\/2\/narrowing.html#discriminated-unions\">gediscrimineerde vakbonden<\/a> en <a href=\"https:\/\/www.typescriptlang.org\/docs\/handbook\/2\/narrowing.html#control-flow-analysis\">controlestroomanalyse<\/a> werken in Typescript, dus we doen niets te ingewikkelds met die code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Eenvoudige, progressieve migratie van JavaScript<\/h2>\n\n\n\n<p>Geldige JavaScript-code is tegelijkertijd geldige Typescript-code, dus je kunt je codebase stap voor stap migreren. Meestal is het gebruik van de strikte modus in Typescript een goede gewoonte, maar in dit geval,<br>moeten we beginnen met <code>\"strikt\": vals<\/code> in <code>tsconfig.json<\/code> en we moeten ook nog 2 opties instellen.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"javascript\" class=\"language-javascript\">\"allowJs\": true, \/\/ hierdoor kunnen we .js-bestanden gebruiken en wordt het type niet gecontroleerd\n\"skipLibCheck\": true \/\/ het type wordt niet gecontroleerd in bibliotheken die we gebruiken<\/code><\/pre>\n\n\n\n<p>Met deze opties kunnen we stap voor stap migreren van JS naar TS - bestand voor bestand, door simpelweg de extensie te veranderen van <code>.js(x)<\/code> naar <code>.ts(x)<\/code> en het toevoegen van types in de bestanden. Met deze aanpak kunnen we honderden of duizenden enge compilatiefouten voorkomen.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Samenvatting<\/h2>\n\n\n\n<p>Ik denk dat we <b>Typescript<\/b> zo vaak als <strong>mogelijk<\/strong>omdat het op de lange termijn echt nuttig is. Het helpt om projecten te onderhouden, vergroot de ervaring van ontwikkelaars en maakt onze codebase explicieter en betrouwbaarder.<\/p>\n\n\n\n<p>Zoals altijd zijn er echter uitzonderingen - bijvoorbeeld voor een eenvoudige landingspagina<br>waar JavaScript alleen wordt gebruikt voor het wisselen van klasse of een ander eenvoudig geval, heeft Typescript geen zin.<br>We moeten ook niet vergeten dat we Typescript op voldoende niveau moeten leren gebruiken om er ten volle van te kunnen profiteren, en dat kan wel even duren. Ik denk dat het nog steeds een zeer rendabele investering van je tijd is.<\/p>\n\n\n\n<p><strong>Lees meer:<\/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 en minder bekende privacycontrolemethoden<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/thecodest.co\/blog\/highest-quality-code-in-your-saas-project\/\">De hoogste kwaliteit code in je SaaS-project. Waarom zou je daar als (niet-technische) oprichter om geven?<\/a><\/p>\n\n\n\n<p><em>*De titelafbeelding komt van de Know Your Meme-website.<\/em><\/p>","protected":false},"excerpt":{"rendered":"<p>Iedereen die gebruik maakt van het JavaScript ecosysteem is zich tegenwoordig bewust van Typescript. Typescript is een van de meest geliefde technologie\u00ebn* en het gebruik ervan neemt voortdurend toe (het gebruiksaandeel steeg van 52% in 2018 naar 78% in 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\/nl\/blog\/waarom-je-waarschijnlijk-typescript-zou-moeten-gebruiken\/\" \/>\n<meta property=\"og:locale\" content=\"nl_NL\" \/>\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\/nl\/blog\/waarom-je-waarschijnlijk-typescript-zou-moeten-gebruiken\/\" \/>\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 minuten\" \/>\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\":\"nl-NL\",\"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\":\"nl-NL\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/thecodest.co\\\/blog\\\/why-you-should-probably-use-typescript\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@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\":\"nl-NL\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/thecodest.co\\\/#organization\",\"name\":\"The Codest\",\"url\":\"https:\\\/\\\/thecodest.co\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"nl-NL\",\"@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\":\"nl-NL\",\"@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\\\/nl\\\/author\\\/thecodest\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Waarom je (waarschijnlijk) Typescript zou moeten gebruiken - The Codest","description":"Iedereen die gebruik maakt van het JavaScript ecosysteem is zich tegenwoordig bewust van Typescript. Typescript is een van de meest geliefde technologie\u00ebn* en het gebruik ervan neemt voortdurend toe (het gebruiksaandeel steeg van 52% in 2018 naar 78% in 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\/nl\/blog\/waarom-je-waarschijnlijk-typescript-zou-moeten-gebruiken\/","og_locale":"nl_NL","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\/nl\/blog\/waarom-je-waarschijnlijk-typescript-zou-moeten-gebruiken\/","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 minuten"},"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":"nl-NL","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":"Waarom je (waarschijnlijk) Typescript zou moeten gebruiken - 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":"Iedereen die gebruik maakt van het JavaScript ecosysteem is zich tegenwoordig bewust van Typescript. Typescript is een van de meest geliefde technologie\u00ebn* en het gebruik ervan neemt voortdurend toe (het gebruiksaandeel steeg van 52% in 2018 naar 78% in 2020)*.","breadcrumb":{"@id":"https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/#breadcrumb"},"inLanguage":"nl-NL","potentialAction":[{"@type":"ReadAction","target":["https:\/\/thecodest.co\/blog\/why-you-should-probably-use-typescript\/"]}]},{"@type":"ImageObject","inLanguage":"nl-NL","@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":"nl-NL"},{"@type":"Organization","@id":"https:\/\/thecodest.co\/#organization","name":"The Codest","url":"https:\/\/thecodest.co\/","logo":{"@type":"ImageObject","inLanguage":"nl-NL","@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":"nl-NL","@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\/nl\/author\/thecodest\/"}]}},"_links":{"self":[{"href":"https:\/\/thecodest.co\/nl\/wp-json\/wp\/v2\/posts\/3941","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thecodest.co\/nl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thecodest.co\/nl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thecodest.co\/nl\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thecodest.co\/nl\/wp-json\/wp\/v2\/comments?post=3941"}],"version-history":[{"count":7,"href":"https:\/\/thecodest.co\/nl\/wp-json\/wp\/v2\/posts\/3941\/revisions"}],"predecessor-version":[{"id":8171,"href":"https:\/\/thecodest.co\/nl\/wp-json\/wp\/v2\/posts\/3941\/revisions\/8171"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/thecodest.co\/nl\/wp-json\/wp\/v2\/media\/3942"}],"wp:attachment":[{"href":"https:\/\/thecodest.co\/nl\/wp-json\/wp\/v2\/media?parent=3941"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thecodest.co\/nl\/wp-json\/wp\/v2\/categories?post=3941"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thecodest.co\/nl\/wp-json\/wp\/v2\/tags?post=3941"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}