TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

Results 1269 TypeScript issues
Sort by recently updated
recently updated
newest added

This PR adds type inference support to regular expressions for accurate and fine type checking. For example, the type of the following loosey[^1] regex: [^1]: It only matches a limited...

For Uncommitted Bug

`cancellationToken.js` is a file which contains an implementation of a file-based cancellation token. It is loaded dynamically by `tsserver.js`, but nowhere else. As far as I can tell, there's no...

Author: Team
For Uncommitted Bug

Does this issue occur when all extensions are disabled?: Yes - VS Code Version: 1.67.0-insider (commit: f050b17dacedba13962244b13c70084a473d08f7) - OS Version: Windows 11 Steps to Reproduce: 1. Open a TypeScript file...

Bug
Help Wanted
Effort: Moderate
Domain: Quick Info

### 🔎 Search Terms - `asserts this is T` - `narrow` - `assertions` - I also checked #59707, but it is unrelated (generic types). ### 🕗 Version & Regression Information...

Cursed?
Possible Improvement

### 🔎 Search Terms "inferred type" "portable" "type annotation is necessary" "cannot be named without a reference to" ### 🕗 Version & Regression Information - This changed between versions 5.5.4...

Needs More Info

### 🔍 Search Terms I was pretty sure an issue already existed for this, but I couldn't find it. Hopefully opening a new issue (to maybe be closed again) will...

Suggestion
Awaiting More Feedback

### 🔎 Search Terms infinite type instantiation excessively deep recursive conditional ### 🕗 Version & Regression Information - This is the behavior in every version I tried, and I reviewed...

Bug
Help Wanted

### 🔎 Search Terms keyof Readonly array ### 🕗 Version & Regression Information Latest to date ### ⏯ Playground Link https://www.typescriptlang.org/play/?#code/C4TwDgpgBAKgjFAvFAShAhgEwPYDsA2IAPAM7ABOAlrgOYDaAugHwDcUA9O1ORjgSFDJVajALAAoUJFQJkAawghsAM1hw2nKAqWqeWPIUEVq9BhIlToAaUUB5ZWn38iMJki2KVqXgeKuWFuDQKABM7jYg9o58hKTGIswaXIAy5B46RsKmEkA ### 💻 Code ```ts type T1 = Readonly; //...

Needs Investigation

From #59539 ### 🔎 Search Terms - paste imports ### 🕗 Version & Regression Information 5.7.0-dev.20241015 ### 💻 Code 1. Using a VS Code starter extension created with `yo code`...

Bug