{"id":1121760,"date":"2023-03-26T21:34:00","date_gmt":"2023-03-27T01:34:00","guid":{"rendered":"https:\/\/www.prime-wow.com\/?p=1121760"},"modified":"2023-03-26T21:34:00","modified_gmt":"2023-03-27T01:34:00","slug":"whats-new-in-typescript-5-0","status":"publish","type":"post","link":"https:\/\/www.prime-wow.com\/?p=1121760","title":{"rendered":"What&#039;s New in TypeScript 5.0?"},"content":{"rendered":"<p>InfoWorld reports that TypeScript 5.0 is smaller, faster, and simpler:<\/p>\n<p>TypeScript 5.0, an update to Microsoft&#8217;s strongly typed JavaScript variant, is now available as a production release, Microsoft announced March 16. With the upgrade, TypeScript has been rebuilt to use ECMAScript modules. TypeScript 5.0 also modernizes decorators for class customization. <\/p>\n<p>ECMAScript modules reduce package size and boost performance. Decorators, an upcoming ECMAScript feature, allow for customizing classes and their members in a reusable way, Microsoft noted in a March 1 blog post. Decorators can be used on methods, properties, getters, setters, and auto-accessors. Classes can be decorated for subclassing and registration. While TypeScript previously supported experimental decorators, these were modeled on a much older version of the decorators proposal. TypeScript 5.0 will permit decorators to be placed before or after export and export default, a change made since the January 26 beta release of the new version.<\/p>\n<p \/>\n<div class=\"share_submission\">\n<a class=\"slashpop\" href=\"http:\/\/twitter.com\/home?status=What's+New+in+TypeScript+5.0%3F%3A+https%3A%2F%2Fdevelopers.slashdot.org%2Fstory%2F23%2F03%2F27%2F0056258%2F%3Futm_source%3Dtwitter%26utm_medium%3Dtwitter\"><img decoding=\"async\" src=\"https:\/\/www.prime-wow.com\/wp-content\/uploads\/2023\/03\/twitter_icon_large-1047.png\" \/><\/a><br \/>\n<a class=\"slashpop\" href=\"http:\/\/www.facebook.com\/sharer.php?u=https%3A%2F%2Fdevelopers.slashdot.org%2Fstory%2F23%2F03%2F27%2F0056258%2Fwhats-new-in-typescript-50%3Futm_source%3Dslashdot%26utm_medium%3Dfacebook\"><img decoding=\"async\" src=\"https:\/\/www.prime-wow.com\/wp-content\/uploads\/2023\/03\/facebook_icon_large-524.png\" \/><\/a><\/p>\n<\/div>\n<p><a href=\"https:\/\/developers.slashdot.org\/story\/23\/03\/27\/0056258\/whats-new-in-typescript-50?utm_source=rss1.0moreanon&amp;utm_medium=feed\">Read more of this story<\/a> at Slashdot.<\/p>\n<p>&#013;<br \/>\n&#013;<br \/>\nSource: Slashdot &#8211; <a href=\"https:\/\/developers.slashdot.org\/story\/23\/03\/27\/0056258\/whats-new-in-typescript-50?utm_source=rss1.0mainlinkanon&amp;utm_medium=feed\" target=\"_blank\" rel=\"noopener\">What&#8217;s New in TypeScript 5.0?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>InfoWorld reports that TypeScript 5.0 is smaller, faster, and simpler: TypeScript 5.0, an update to Microsoft&#8217;s strongly typed JavaScript variant, is now available as a production release, Microsoft announced March 16. With the upgrade, TypeScript has been rebuilt to use &hellip; <a href=\"https:\/\/www.prime-wow.com\/?p=1121760\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1121761,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[101,110],"tags":[100],"class_list":["post-1121760","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-slashdot","category-unfiltered-rss","tag-slashdot"],"_links":{"self":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts\/1121760","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1121760"}],"version-history":[{"count":0,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/posts\/1121760\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=\/wp\/v2\/media\/1121761"}],"wp:attachment":[{"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1121760"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1121760"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.prime-wow.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1121760"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}