TypeScript
TypeScript copied to clipboard
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
TypeScript has a discrete `enum` type that allows various compile-time checks and constraints to be enforced when using such types. It would be extremely useful to allow generic constraints to...
The following errors were reported by 5.9.0-dev.20250316 vs 5.8.2 [Pipeline that generated this bug](https://typescript.visualstudio.com/TypeScript/_build?definitionId=48) [Logs for the pipeline run](https://typescript.visualstudio.com/TypeScript/_build/results?buildId=164933) [File that generated the pipeline](https://github.com/microsoft/typescript-error-deltas/blob/main/azure-pipelines-gitTests.yml) This run considered 300 popular TS...
### 🔍 Search Terms maybe type, optional type, or undefined ### ✅ Viability Checklist - [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code - [x] This wouldn't...
**TypeScript Version:** 3.4.0-dev.201xxxxx **Search Terms:** controlsList HTMLMediaElement **Code** ```ts const video = $htmlVideoElement as HTMLVideoElement video.controlsList.value = "nodownload"; ``` **Expected behavior:** Works so we can do things as shown https://googlechrome.github.io/samples/media/controlslist.html...
### 🔎 Search Terms "empty object", "generic", "map", "infer", "two", "conversion error", "partial" ### 🕗 Version & Regression Information This is the behavior in every version I tried, and I...
The following errors were reported by 5.9.0-dev.20250316 vs 5.8.2 [Pipeline that generated this bug](https://typescript.visualstudio.com/TypeScript/_build?definitionId=48) [Logs for the pipeline run](https://typescript.visualstudio.com/TypeScript/_build/results?buildId=164934) [File that generated the pipeline](https://github.com/microsoft/typescript-error-deltas/blob/main/azure-pipelines-gitTests.yml) This run considered 300 popular TS...
### 🔎 Search Terms JSDoc, TSDoc, Link, Resolve, Name ### 🕗 Version & Regression Information - This is the behavior in every version I tried, and I reviewed the FAQ...
The following errors were reported by 5.9.0-dev.20250316, but not by 5.8.2 [Pipeline that generated this bug](https://typescript.visualstudio.com/TypeScript/_build?definitionId=48) [Logs for the pipeline run](https://typescript.visualstudio.com/TypeScript/_build/results?buildId=164932) [File that generated the pipeline](https://github.com/microsoft/typescript-error-deltas/blob/main/azure-pipelines-gitTests.yml) This run considered 800...
# Summary To support both the semantics of subclassing built-ins in ES6 and still allow authors to augment built-ins, we need a mechanism to reopen the static and instance sides...
### 🔎 Search Terms "54442", "diagnostics" ### 🕗 Version & Regression Information - This changed between versions before and 5.8.2 - This changed in commit or PR e79b644 - This...