{"id":1647,"date":"2019-02-25T00:00:00","date_gmt":"2019-02-25T08:00:00","guid":{"rendered":""},"modified":"2025-06-17T01:58:26","modified_gmt":"2025-06-17T08:58:26","slug":"improving-the-typescript-support-in-azure-functions","status":"publish","type":"post","link":"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/","title":{"rendered":"Improving the TypeScript support in Azure Functions"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">TypeScript is becoming increasingly popular in the JavaScript community. Since Azure Functions runs Node.js, and TypeScript compiles to JavaScript, motivated users already could get TypeScript code up and running in Azure Functions. However, the experience wasn\u2019t seamless, and things like our default folder structure made getting started a bit tricky. Today we\u2019re pleased to announce a set of tooling improvements that improve this situation. Azure Functions users can now easily develop with TypeScript when building their event-driven applications!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For those unfamiliar, TypeScript is a superset of JavaScript which provides optional static typing, classes, and interfaces. These features allow you to catch bugs earlier in the development process, leading to more robust software engineering. TypeScript also indirectly enables you to leverage modern JavaScript syntax, since TypeScript is compatible with ECMAScript 2015.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With this set of changes to the Azure Functions Core Tools and the Azure Functions Extension for Visual Studio Code, Azure Functions now supports TypeScript out of the box! Included with these changes are a set of templates for TypeScript, type definitions, and npm scripts. Read on to learn more details about the new experience.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"templates-for-typescript\">Templates for TypeScript<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the latest version of the <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/azure-functions\/functions-run-local\" target=\"_blank\" rel=\"noopener\">Azure Functions Core Tools<\/a> and the <a href=\"https:\/\/code.visualstudio.com\/tutorials\/functions-extension\/getting-started\" target=\"_blank\" rel=\"noopener\">Azure Functions Extension for VS Code<\/a>, you\u2019re given the option to use TypeScript when creating functions. To be more precise, on creation of a new function app, you will now see the option to specify TypeScript on language stack selection. This action will opt you into default package.json and .tsconfig files, setting up their app to be TypeScript compatible. After this, when creating a function, you will be able to select from a number of TypeScript specific function templates. Each template represents one possible trigger, and there is an equivalent present in TypeScript for each template supported in JavaScript.<\/p>\n\n\n\n<figure class=\"wp-block-image has-custom-border\"><a href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/866935ec-b4da-414f-ab2c-82d1dc86af93.gif\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/866935ec-b4da-414f-ab2c-82d1dc86af93.gif\" alt=\"Select from a number of TypeScript specific function templates for different triggers\" style=\"border-radius:0px\" title=\"Typescript\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The best part of this new flow is that to transpile and run TypeScript functions, you don\u2019t have to take any actions at all that are unique to Functions. For example, what this means is that when a user hits F5 to start debugging Visual Studio Code, Code will automatically run the required installation tasks, transpile the TypeScript code, and start the Azure Functions host. This local development experience is best in class, and is exactly how a user would start debugging any other app in VS Code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Learn more about how to get your TypeScript functions up and running in our <a href=\"https:\/\/aka.ms\/ts-functions\" target=\"_blank\" rel=\"noopener\">documentation<\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"type-definitions-for-azure-functions\">Type definitions for Azure Functions<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The <a href=\"https:\/\/www.npmjs.com\/package\/@azure\/functions\" target=\"_blank\" rel=\"noopener\">@azure\/functions<\/a> package on npm contains type definitions for Azure Functions. Have you ever wondered what\u2019s an Azure Function object is shaped like? Or maybe, the context object that is passed into every JavaScript function? This package helps! To get the most of TypeScript, this should to be imported in every .ts function. JavaScript purists can benefit too \u2013 including this package in your code gives you a richer Intellisense experience. Check out the <a href=\"https:\/\/www.npmjs.com\/package\/@azure\/functions\" target=\"_blank\" rel=\"noopener\">@azure\/functions<\/a> package on npm to learn more!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"npm-scripts\">Npm scripts<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Included by default in the TypeScript function apps is a package.json file including a few simple npm scripts. These scripts allow Azure Functions to fit directly into your typical development flow by calling specific Azure Functions Core Tools commands. For instance, \u2018npm start\u2019 will automatically run \u2018func start\u2019, meaning that after creating a function app you don\u2019t have to treat it differently than any other Node.js project.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To see these in action, check out our <a href=\"https:\/\/aka.ms\/ts-functions-example\" target=\"_blank\" rel=\"noopener\">example repo<\/a>!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"try-it-yourself\">Try it yourself!<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">With either the <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/azure-functions\/functions-run-local\" target=\"_blank\" rel=\"noopener\">Azure Functions Core Tools<\/a> or the <a href=\"https:\/\/code.visualstudio.com\/tutorials\/functions-extension\/getting-started\" target=\"_blank\" rel=\"noopener\">Azure Functions Extension for VS Code<\/a>, you can try out the improved experience for TypeScript in Azure Functions on your local machine, even if you don\u2019t have an Azure account.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"next-steps\">Next steps<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"wp-block-list-item\">Get started with Azure Functions in <a href=\"https:\/\/code.visualstudio.com\/tutorials\/functions-extension\/getting-started\" target=\"_blank\" rel=\"noopener\">VS Code<\/a>.<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Get started with Azure Functions in your CLI with the <a href=\"https:\/\/docs.microsoft.com\/en-us\/azure\/azure-functions\/functions-run-local\" target=\"_blank\" rel=\"noopener\">Azure Functions Core Tools<\/a>.<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Check out a <a href=\"https:\/\/aka.ms\/ts-functions-example\" target=\"_blank\" rel=\"noopener\">sample TypeScript Function App<\/a>.<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Take a look at the <a href=\"https:\/\/aka.ms\/ts-functions\" target=\"_blank\" rel=\"noopener\">Azure Functions JavaScript Developer Guide<\/a> for additional details.<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Sign up for an <a href=\"https:\/\/azure.microsoft.com\/free\/serverless\" target=\"_blank\" rel=\"noopener\">Azure free account<\/a> if you don\u2019t have one, and deploy your serverless apps to the cloud.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">As always, feel free to reach out to the team with any feedback on our <a href=\"https:\/\/github.com\/Azure\/Azure-Functions\" target=\"_blank\" rel=\"noopener\">GitHub<\/a> or <a href=\"https:\/\/twitter.com\/AzureFunctions\" target=\"_blank\" rel=\"noopener\">Twitter<\/a>. Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>TypeScript is becoming increasingly popular in the JavaScript community. Since Azure Functions runs Node.js, and TypeScript compiles to JavaScript, motivated users already could get TypeScript code up and running in Azure Functions.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ms_queue_id":[],"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","_alt_title":"","footnotes":"","msx_community_cta_settings":[]},"categories":[1467,1470,1485],"tags":[],"audience":[3055,3053,3056],"content-type":[],"product":[1536],"tech-community":[],"topic":[],"coauthors":[97],"class_list":["post-1647","post","type-post","status-publish","format-standard","hentry","category-compute","category-containers","category-internet-of-things","audience-developers","audience-it-decision-makers","audience-it-implementors","product-azure-functions","review-flag-1680286581-295","review-flag-alway-1680286580-106","review-flag-free-1680286579-836","review-flag-lever-1680286579-649","review-flag-new-1680286579-546"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Improving the TypeScript support in Azure Functions | Microsoft Azure Blog<\/title>\n<meta name=\"description\" content=\"TypeScript is becoming increasingly popular in the JavaScript community. Since Azure Functions runs Node.js, and TypeScript compiles to JavaScript, motivated users already could get TypeScript code up and running in Azure Functions.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Improving the TypeScript support in Azure Functions | Microsoft Azure Blog\" \/>\n<meta property=\"og:description\" content=\"TypeScript is becoming increasingly popular in the JavaScript community. Since Azure Functions runs Node.js, and TypeScript compiles to JavaScript, motivated users already could get TypeScript code up and running in Azure Functions.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Azure Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/microsoftazure\" \/>\n<meta property=\"article:published_time\" content=\"2019-02-25T08:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-17T08:58:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/866935ec-b4da-414f-ab2c-82d1dc86af93.gif\" \/>\n<meta name=\"author\" content=\"Microsoft Azure\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@azure\" \/>\n<meta name=\"twitter:site\" content=\"@azure\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Microsoft Azure\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/\"},\"author\":[{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/microsoft-azure\/\",\"@type\":\"Person\",\"@name\":\"Microsoft Azure\"}],\"headline\":\"Improving the TypeScript support in Azure Functions\",\"datePublished\":\"2019-02-25T08:00:00+00:00\",\"dateModified\":\"2025-06-17T08:58:26+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/\"},\"wordCount\":712,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/866935ec-b4da-414f-ab2c-82d1dc86af93.gif\",\"articleSection\":[\"Compute\",\"Containers\",\"Internet of things\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/\",\"name\":\"Improving the TypeScript support in Azure Functions | Microsoft Azure Blog\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/866935ec-b4da-414f-ab2c-82d1dc86af93.gif\",\"datePublished\":\"2019-02-25T08:00:00+00:00\",\"dateModified\":\"2025-06-17T08:58:26+00:00\",\"description\":\"TypeScript is becoming increasingly popular in the JavaScript community. Since Azure Functions runs Node.js, and TypeScript compiles to JavaScript, motivated users already could get TypeScript code up and running in Azure Functions.\",\"breadcrumb\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#primaryimage\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/866935ec-b4da-414f-ab2c-82d1dc86af93.gif\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/866935ec-b4da-414f-ab2c-82d1dc86af93.gif\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog home\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Compute\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/compute\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Improving the TypeScript support in Azure Functions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"name\":\"Microsoft Azure Blog\",\"description\":\"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.\",\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\",\"name\":\"Microsoft Azure Blog\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"width\":512,\"height\":512,\"caption\":\"Microsoft Azure Blog\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/microsoftazure\",\"https:\/\/x.com\/azure\",\"https:\/\/www.instagram.com\/microsoftdeveloper\/\",\"https:\/\/www.linkedin.com\/company\/16188386\",\"https:\/\/www.youtube.com\/user\/windowsazure\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/c702e5edd662b328b49b7e1180cab117\",\"name\":\"shakir\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"caption\":\"shakir\"},\"sameAs\":[\"https:\/\/azure.microsoft.com\"],\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/shakir\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Improving the TypeScript support in Azure Functions | Microsoft Azure Blog","description":"TypeScript is becoming increasingly popular in the JavaScript community. Since Azure Functions runs Node.js, and TypeScript compiles to JavaScript, motivated users already could get TypeScript code up and running in Azure Functions.","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:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/","og_locale":"en_US","og_type":"article","og_title":"Improving the TypeScript support in Azure Functions | Microsoft Azure Blog","og_description":"TypeScript is becoming increasingly popular in the JavaScript community. Since Azure Functions runs Node.js, and TypeScript compiles to JavaScript, motivated users already could get TypeScript code up and running in Azure Functions.","og_url":"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/","og_site_name":"Microsoft Azure Blog","article_publisher":"https:\/\/www.facebook.com\/microsoftazure","article_published_time":"2019-02-25T08:00:00+00:00","article_modified_time":"2025-06-17T08:58:26+00:00","og_image":[{"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/866935ec-b4da-414f-ab2c-82d1dc86af93.gif","type":"","width":"","height":""}],"author":"Microsoft Azure","twitter_card":"summary_large_image","twitter_creator":"@azure","twitter_site":"@azure","twitter_misc":{"Written by":"Microsoft Azure","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#article","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/"},"author":[{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/microsoft-azure\/","@type":"Person","@name":"Microsoft Azure"}],"headline":"Improving the TypeScript support in Azure Functions","datePublished":"2019-02-25T08:00:00+00:00","dateModified":"2025-06-17T08:58:26+00:00","mainEntityOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/"},"wordCount":712,"commentCount":0,"publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/866935ec-b4da-414f-ab2c-82d1dc86af93.gif","articleSection":["Compute","Containers","Internet of things"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/","name":"Improving the TypeScript support in Azure Functions | Microsoft Azure Blog","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#primaryimage"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/866935ec-b4da-414f-ab2c-82d1dc86af93.gif","datePublished":"2019-02-25T08:00:00+00:00","dateModified":"2025-06-17T08:58:26+00:00","description":"TypeScript is becoming increasingly popular in the JavaScript community. Since Azure Functions runs Node.js, and TypeScript compiles to JavaScript, motivated users already could get TypeScript code up and running in Azure Functions.","breadcrumb":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#primaryimage","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/866935ec-b4da-414f-ab2c-82d1dc86af93.gif","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2019\/02\/866935ec-b4da-414f-ab2c-82d1dc86af93.gif"},{"@type":"BreadcrumbList","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/improving-the-typescript-support-in-azure-functions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog home","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/"},{"@type":"ListItem","position":2,"name":"Compute","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/compute\/"},{"@type":"ListItem","position":3,"name":"Improving the TypeScript support in Azure Functions"}]},{"@type":"WebSite","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","name":"Microsoft Azure Blog","description":"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.","publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization","name":"Microsoft Azure Blog","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","width":512,"height":512,"caption":"Microsoft Azure Blog"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/microsoftazure","https:\/\/x.com\/azure","https:\/\/www.instagram.com\/microsoftdeveloper\/","https:\/\/www.linkedin.com\/company\/16188386","https:\/\/www.youtube.com\/user\/windowsazure"]},{"@type":"Person","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/c702e5edd662b328b49b7e1180cab117","name":"shakir","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4","url":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","caption":"shakir"},"sameAs":["https:\/\/azure.microsoft.com"],"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/shakir\/"}]}},"msxcm_display_generated_audio":false,"msxcm_animated_featured_image":null,"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Microsoft Azure Blog","distributor_original_site_url":"https:\/\/azure.microsoft.com\/en-us\/blog","push-errors":false,"_links":{"self":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/1647","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/comments?post=1647"}],"version-history":[{"count":1,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/1647\/revisions"}],"predecessor-version":[{"id":42042,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/1647\/revisions\/42042"}],"wp:attachment":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/media?parent=1647"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/categories?post=1647"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tags?post=1647"},{"taxonomy":"audience","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/audience?post=1647"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/content-type?post=1647"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/product?post=1647"},{"taxonomy":"tech-community","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tech-community?post=1647"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/topic?post=1647"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/coauthors?post=1647"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}