Microsoft » TypeScript
114 FOLLOWERS
The TypeScript blog consists of update announcements from the developers of the language program. TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.
Microsoft » TypeScript
1M ago
Today we’re excited to announce the release of TypeScript 5.4!
If you’re not familiar with TypeScript, it’s a language that builds on top of JavaScript by making it possible to declare and describe types. Writing types in our code allows us to explain intent and have other tools check our code to catch mistakes like typos, issues with null and undefined, and more. Types also power TypeScript’s editor tooling like the auto-completion, code navigation, and refactorings that you might see in Visual Studio and VS Code. In fact, if you’ve been writing JavaScript in either of those editors, you’ve b ..read more
Microsoft » TypeScript
2M ago
Today we’re excited to announce our Release Candidate of TypeScript 5.4! Between now and the stable release of TypeScript 5.4, we expect no further changes apart from critical bug fixes.
To get started using the RC, you can get it through NuGet, or through npm with the following command:
npm install -D typescript@rc
Here’s a quick list of what’s new in TypeScript 5.4!
Preserved Narrowing in Closures Following Last Assignments
The NoInfer Utility Type
Object.groupBy and Map.groupBy
Support for require() calls in --moduleResolution bundler and --module preserve
Checked Import Attributes and A ..read more
Microsoft » TypeScript
3M ago
Today we are excited to announce the availability of TypeScript 5.4 Beta.
To get started using the beta, you can get it through NuGet, or through npm with the following command:
npm install -D typescript@beta
Here’s a quick list of what’s new in TypeScript 5.4!
Preserved Narrowing in Closures Following Last Assignments
The NoInfer Utility Type
Object.groupBy and Map.groupBy
Support for require() calls in --moduleResolution bundler and --module preserve
Checked Import Attributes and Assertions
Quick Fix for Adding Missing Parameters
Upcoming 5.5 Deprecations
Breaking Changes
Preserved Narro ..read more
Microsoft » TypeScript
5M ago
Today we’re excited to announce the release of TypeScript 5.3!
If you’re not familiar with TypeScript, it’s a language that adds type syntax to JavaScript to bring type-checking. Type-checking can catch all sorts of issues like typos and forgetting to check for null and undefined. But types go beyond type-checking – the same analyses of TypeScript’s type-checker are used for rich editor tooling like auto-completion, code navigation, and refactorings. In fact, if you’ve been writing JavaScript in editors like Visual Studio or VS Code, that experience is powered by TypeScript!
To get started usi ..read more
Microsoft » TypeScript
6M ago
Today we’re excited to announce our Release Candidate of TypeScript 5.3! Between now and the stable release of TypeScript 5.3, we expect no further changes apart from critical bug fixes.
To get started using the RC, you can get it through NuGet, or through npm with the following command:
npm install -D typescript@rc
Here’s a quick list of what’s new in TypeScript 5.3!
Import Attributes
Stable Support resolution-mode in Import Types
resolution-mode Supported in All Module Modes
switch (true) Narrowing
Narrowing On Comparisons to Booleans
instanceof Narrowing Through Symbol.hasInstance
Checks ..read more
Microsoft » TypeScript
7M ago
Today we are excited to announce the availability of TypeScript 5.3 Beta.
To get started using the beta, you can get it through NuGet, or through npm with the following command:
npm install -D typescript@beta
Here’s a quick list of what’s new in TypeScript 5.3!
Import Attributes
Stable Support resolution-mode in Import Types
switch (true) Narrowing
Narrowing On Comparisons to Booleans
instanceof Narrowing Through Symbol.hasInstance
Checks for super Property Accesses on Instance Fields
Interactive Inlay Hints for Types
Optimizations by Skipping JSDoc Parsing
Optimizations by Comparing Non-No ..read more
Microsoft » TypeScript
8M ago
Today we’re excited to announce the release of TypeScript 5.2!
If you’re not familiar with TypeScript, it’s a language that builds on top of JavaScript by making it possible to declare and describe types. Writing types in our code allows us to explain intent and have other tools check our code to catch mistakes like typos, issues with null and undefined, and more. Types also power TypeScript’s editor tooling like the auto-completion, code navigation, and refactorings that you might see in Visual Studio and VS Code. In fact, if you’ve been writing JavaScript in either of those editors, you’ve b ..read more
Microsoft » TypeScript
9M ago
Today we’re excited to announce our Release Candidate of TypeScript 5.2! Between now and the stable release of TypeScript 5.2, we expect no further changes apart from critical bug fixes.
To get started using the RC, you can get it through NuGet, or through npm with the following command:
npm install -D typescript@rc
Here’s a quick list of what’s new in TypeScript 5.2!
using Declarations and Explicit Resource Management
Decorator Metadata
Named and Anonymous Tuple Elements
Easier Method Usage for Unions of Arrays
Type-Only Import Paths with TypeScript Implementation File Extensions
Comma Com ..read more
Microsoft » TypeScript
10M ago
Today we are excited to announce the availability of TypeScript 5.2 Beta.
To get started using the beta, you can get it through NuGet, or through npm with the following command:
npm install -D typescript@beta
Here’s a quick list of what’s new in TypeScript 5.2!
using Declarations and Explicit Resource Management
Decorator Metadata
Named and Anonymous Tuple Elements
Easier Method Usage for Unions of Arrays
Comma Completions for Object Members
Inline Variable Refactoring
Breaking Changes and Correctness Fixes
using Declarations and Explicit Resource Management
TypeScript 5.2 adds support for ..read more
Microsoft » TypeScript
1y ago
Today we’re excited to announce our Release Candidate of TypeScript 5.1! Between now and the stable release of TypeScript 5.1, we expect no further changes apart from critical bug fixes.
To get started using the RC, you can get it through NuGet, or through npm with the following command:
npm install -D typescript@rc
Here’s a quick list of what’s new in TypeScript 5.1!
Easier Implicit Returns for undefined-Returning Functions
Unrelated Types for Getters and Setters
Decoupled Type-Checking Between JSX Elements and JSX Tag Types
Namespaced JSX Attributes
typeRoots Are Consulted In Module Resol ..read more