<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Krishna Goswami</title>
    <description>The latest articles on Forem by Krishna Goswami (@krishna_goswami_129303051).</description>
    <link>https://forem.com/krishna_goswami_129303051</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3681719%2F3e778860-13c8-40a8-b526-70979395583b.jpg</url>
      <title>Forem: Krishna Goswami</title>
      <link>https://forem.com/krishna_goswami_129303051</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/krishna_goswami_129303051"/>
    <language>en</language>
    <item>
      <title>TypeScript 5.0 Features Every Developer Should Use 🚀</title>
      <dc:creator>Krishna Goswami</dc:creator>
      <pubDate>Sat, 27 Dec 2025 17:33:52 +0000</pubDate>
      <link>https://forem.com/krishna_goswami_129303051/typescript-50-features-every-developer-should-use-58o5</link>
      <guid>https://forem.com/krishna_goswami_129303051/typescript-50-features-every-developer-should-use-58o5</guid>
      <description>&lt;p&gt;TypeScript continues to evolve as the backbone of modern JavaScript development, and TypeScript 5.0 is one of its most impactful releases. It focuses on better performance, smarter type inference, and developer productivity—without breaking existing code.&lt;/p&gt;

&lt;p&gt;In this article, we’ll explore the most useful TypeScript 5.0 features that every developer should start using today, with simple explanations and real examples.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;D*&lt;em&gt;ecorators Are Now Stable (Big Win 🎉):&lt;/em&gt;
&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F02277o2222o1lypjl14x.png" alt=" " width="800" height="533"&gt;* They allow you to annotate and modify classes, methods, fields, and accessors in a clean and readable way.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;function Log(target: any, context: ClassMethodDecoratorContext) {&lt;br&gt;
  console.log(&lt;code&gt;Method ${String(context.name)} was defined&lt;/code&gt;);&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;class UserService {&lt;br&gt;
  &lt;a class="mentioned-user" href="https://dev.to/log"&gt;@log&lt;/a&gt;&lt;br&gt;
  getUser() {&lt;br&gt;
    return "User data";&lt;br&gt;
  }&lt;br&gt;
}&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Faster Builds with Project References Improvements&lt;/strong&gt; ⚡
TypeScript 5.0 significantly improves build speed, especially for large codebases and monorepos.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;What changed?&lt;/strong&gt;&lt;br&gt;
Faster incremental builds&lt;br&gt;
Improved --build mode&lt;br&gt;
Smarter dependency tracking&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why it matters&lt;/strong&gt;&lt;br&gt;
Less waiting during development&lt;br&gt;
Better CI/CD performance&lt;br&gt;
Ideal for enterprise and startup-scale apps &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Improved const Type Parameters&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;function getConfig(config: T) {&lt;br&gt;
  return config;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;const settings = getConfig(["dark", "light"]);&lt;br&gt;
// type is readonly ["dark", "light"], not string[]&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>tutorial</category>
      <category>typescript</category>
    </item>
  </channel>
</rss>
