{"id":5345,"date":"2018-03-21T03:04:39","date_gmt":"2018-03-20T19:04:39","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/vsnews\/?p=5345"},"modified":"2018-03-21T03:04:39","modified_gmt":"2018-03-20T19:04:39","slug":"xs4s3x","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/vsnews\/akams-xs4s3x\/","title":{"rendered":"Announcing TypeScript 2.8"},"content":{"rendered":"<p>Today we\u2019re excited to announce and get some early feedback with TypeScript 2.8\u2019s Release Candidate. To get started with the RC, you can access it through NuGet, or use npm with the following command:<\/p>\n<p>npm install -g typescript@rc<\/p>\n<p>TypeScript 2.8 introduces a new construct called conditional types. This new construct is based on JavaScript\u2019s conditional syntax, and takes the form A extends B ? C : D. You should mentally read this as \u201cif the type A is assignable to B, then the type boils down to C, and otherwise becomes D\u201c.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Today we\u2019re excited to announce and get some early feedback with TypeScript 2.8\u2019s Release Candidate. To get started with the RC, you can access it through NuGet, or use npm with the following command: npm install -g typescript@rc TypeScript 2.8 introduces a new construct called conditional types. This new construct is based on JavaScript\u2019s conditional [&hellip;]<\/p>\n","protected":false},"author":38,"featured_media":8227,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3,8],"tags":[],"class_list":["post-5345","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-allskus","category-vs4mac"],"acf":[],"blog_post_summary":"<p>Today we\u2019re excited to announce and get some early feedback with TypeScript 2.8\u2019s Release Candidate. To get started with the RC, you can access it through NuGet, or use npm with the following command: npm install -g typescript@rc TypeScript 2.8 introduces a new construct called conditional types. This new construct is based on JavaScript\u2019s conditional [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/posts\/5345","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/comments?post=5345"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/posts\/5345\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/media\/8227"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/media?parent=5345"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/categories?post=5345"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/vsnews\/wp-json\/wp\/v2\/tags?post=5345"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}