TypeScript
TypeScript copied to clipboard
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
# Bug Report ### 🔎 Search Terms - find all references - f12 - default export ### 🕗 Version & Regression Information 4.7-beta Not a regression ### 💻 Code For...
### 🔎 Search Terms "transformTime time", "compile time" ### 🕗 Version & Regression Information - This changed between versions 5.5.4 and 5.6.2 ### ⏯ Playground Link _No response_ ### 💻...
# Bug Report ### 🔎 Search Terms `exactOptionalPropertyTypes` `strictoptionalProperties` `Partial` index signature dictionary record ### 🕗 Version & Regression Information - This is the behavior in every version I tried,...
### ⚙ Compilation target ESNext ### ⚙ Library ESNext ### Missing / Incorrect Definition `JSON.rawJSON()` appears to be missing. Apologies if I've missed something or if this is the wrong...
It would be nice to have unused detection expanded, capable of detecting unused methods, exports, etc. **Code Example** _Shape.js_ ```javascript class Shape { constructor() { this.color = 'red'; } colorLog()...
### 🔎 Search Terms noUncheckedIndexedAccess, findIndex, undefined ### 🕗 Version & Regression Information Tried 5.8.2 and nightly (5.9.0-dev.20250310). ### ⏯ Playground Link https://www.typescriptlang.org/play/?noUncheckedIndexedAccess=true&ts=5.8.2#code/MYewdgzgLgBAhgJwQLhmArgWwEYFMEDaAujALwwECMANDAEy0DMRA3AFCiSwCWAJgB5l4SAHQAzbmF4BJKbn4AKQaQB8MZeToBKdtzEwFfQQEJyAWkpaYAbzYx7MTtHWoMOfEMSEjrOw6cgADa4IoEgAOZKOmwAvmxAA ### 💻 Code ```ts const arr: number[]...
### 🔎 Search Terms nullish coalescing parentheses ast ### 🕗 Version & Regression Information - This is the behavior in every version I tried, and I reviewed the FAQ for...
### 🔎 Search Terms in operator, noUncheckedIndexedAccess ### 🕗 Version & Regression Information Tested 5.8.2 and 5.9.0-dev.20250310 ### ⏯ Playground Link https://www.typescriptlang.org/play/?noUncheckedIndexedAccess=true&ts=5.8.2#code/MYewdgzgLgBAhgJwQLhmArgWwEYFMEDaAujALwwECMANDAEy0DMRA3AFCiSwCWAJgB6oMOfGXrtuAMxgAKPvxjcw8JAEoYAbzYwdMTtBiC0WPAjGJC81tt36QAG1wA6eyADmM-qvYBfNkA ### 💻 Code With an array: ```ts const...
Fixes #61338 Fixes #61391
### 🔎 Search Terms type parameter accessor declaration different types ### 🕗 Version & Regression Information - This changed between versions 5.2 and 5.3 ### ⏯ Playground Link [Playground Link](https://www.typescriptlang.org/play/?ts=5.3.3#code/FAMwrgdgxgLglgewgAgLYEMDWBTAagCgEpkBvYZZGATwAdtkANAHgBUA+ZAXlOQHNsYyACZJsRAFzIQ6ADYBnegB9kLANzIFgkRDEA3SS2TKIYGTOIBfcsgBOAsDZQmzAQmTo5jJidQAjbDZswFbA2AAeNAg2glBIcoK6XGhYeESqwEA)...