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

**TypeScript Version:** 2.1.1 **Code** ```ts class Animal {} class Cat extends Animal {} class Kitten extends Cat{} function foo(a: A) { /* */ } ``` **Expected behavior:** The type parameter...

Suggestion
In Discussion

# Suggestion ## 🔍 Search Terms TS in JS, JSDoc, index signatures, class ## ✅ Viability Checklist * [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code *...

Suggestion
Needs Proposal

### 🔍 Search Terms Blank space ErasableSyntax Node.js Strip Types Type Stripping ### ✅ Viability Checklist - [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code - [x]...

Suggestion
Awaiting More Feedback

This PR introduces a new `--enforceReadonly` compiler option to enforce read-only semantics in type relations. Currently, the `readonly` modifier prohibits assignments to properties so marked, but it still considers a...

Author: Team
For Uncommitted Bug

did a quick search, it looks like this hasn't been yet requested currently decorators can only be added to classes, methods and properties consider allowing them on functions too

Suggestion
Domain: Decorators
Waiting for TC39

### 🔎 Search Terms "isolatedModules" "emitDecoratorMetadata" ### 🕗 Version & Regression Information - This is the behavior in every version I tried, and I reviewed the FAQ ### ⏯ Playground...

This document outlines our focused tasks for TypeScript 5.6. It minimally indicates intent to investigate tasks or contribute to an implementation. Nothing is set in stone, but we will strive...

Planning

### 🔎 Search Terms Unable to assign window.location typescript 5.8.2 error TS2322: Type 'Location' is not assignable to type 'string & Location'. Type 'Location' is not assignable to type 'string'....

Needs Investigation

### 🔎 Search Terms control flow analysis, branch, condition ### 🕗 Version & Regression Information Tested in 5.8.2. ### ⏯ Playground Link https://www.typescriptlang.org/play/?noUncheckedIndexedAccess=true#code/JYOwLgpgTgZghgYwgAgBIFcC2cTIN4BQyycA5hAPwBcyIWARtANwEC+BBM6ICYwA9rgSCAzlggAKfvQBWNDNhABKfEWTSZAOjIoAvMm4ATCDFARDLdgWEgRYdbPlYcyfXhLkaAFgBMyVizAMMhSstrkKoTENmKYkhpKLNGi9jo0dJiMUK4OWjpMyAD0hcgAcvypuNBQ-FBsBEA ### 💻 Code ```ts interface Human {...

Duplicate

**Scenario**: As a user, I would like to optionally merge extended arrays in `tsconfig` files. To do so, I would add a nested dot array `["..."]` reminding spread operator to...

Suggestion
Awaiting More Feedback