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

### 🔎 Search Terms require import js ts module esm esmodule cjs commonjs ### 🕗 Version & Regression Information - This happens in the nightly version of TS ### ⏯...

Needs More Info
Has Repro

### 🔎 Search Terms assigning to record number ### 🕗 Version & Regression Information - This is the behavior in every version I tried, and I reviewed the FAQ for...

# Suggestion ## 🔍 Search Terms `tsc --build --noEmit` build noEmit List of keywords you searched for before creating this issue. Write them down here so that others can find...

Suggestion
Awaiting More Feedback

### ⚙ Compilation target ESNext ### ⚙ Library n/a ### Missing / Incorrect Definition - `Temporal` - `Temporal.Now` - `Temporal.Instant` - `Temporal.ZonedDateTime` - `Temporal.PlainDate`, `Temporal.PlainTime`, `Temporal.PlainDateTime` - `Temporal.PlainYearMonth`, `Temporal.PlainMonthDay` -...

### 🔍 Search Terms I have a project A, which has path: "@" configured in it. Then this alais is used in this project. Another project B references the code...

Fixes #58644 The interface were missing for subclasses of `PerformanceEntry` which causes an error when we try to run below code snippet [Playground Link](https://www.typescriptlang.org/play/?#code/GYVwdgxgLglg9mABABwIYHMCmB1VBnAJU1QBs5UATTCgCgEoAuRAIzjhOKQG8AoRfxACdMUEIKTJMg4HEEBbVJEx8BqgHRYoAUTBRBMTHgBCATwAqJyTQDkYVADcY6VLATW6K1fwD03xFsFBWSYzAGUAJgBmSIBOJgAFIMlBKBNEVMlECjhDRDA4KERMAA8YPEKEdMtMRHipGXlFCEwdPRNPL19EMwALMsR+gHcgsHQAGhZMCFQQPBqoPrwBpdRa+tkFJQA5BycXeDAzGDkYUcQ4ZgArKagO9Tw4OUwaTF1BNIBeAD4it5M1DI1D7AxDWYRkSjuADcPAAvkA) ```ts function pageWasRealoaded(): boolean { return...

For Backlog Bug

### 🔎 Search Terms predicate return type passed parameter ### 🕗 Version & Regression Information Latest to date. ### ⏯ Playground Link https://www.typescriptlang.org/play/?target=99&jsx=0#code/JYOwLgpgTgZghgYwgAgGIHt0EZkG8CwAUAJAyYBcyAzmFKAOYDcRxV6AthGABYMD6EADZUIlAK4gA1iHQB3EM0IBfIkVCRYiFBnQAmPCzLpKIMewBG0RcTgye0PjwbipM+YpWE14aPCTIAITgoAxJzYJdpOQUiT1VCABMIBEFglAR0EBpkYKhKAAodHAAfNEx9UqCoAEoAbQBdRSIklLTkGAkEMGBM5G44Kj4jAB4AFQA+fLBKUerKMGRgKmRR5AgAD0gQBOXcdopkCSj5ZCVkAH4V5BMIADcreKIMrIWoHABeHKgoADoYUAS+X6gyM1QAhIxkAB6KFlbDIUo6fSAHg3AJH7j0IHRAXR6IGQCXQQwBwwACmtNhBtst8nxKLYAJ7VZDvcbIcyYQQQWyTAAOUAgCWACDgkEoJKZBBI-LAYigeNyfwB+T5AqFIog1Q88We2Sg+k+BKJ2yBAyGmHBkJhcJKcIqgWCyEAMuREIA ### 💻 Code ```ts declare const arr:...

Not a Defect

### 🔎 Search Terms "function parameter destructuring", "destructured parameter", "named parameter", "undefined" ### 🕗 Version & Regression Information - This is the behavior in every version I tried, and I...

Suggestion
Awaiting More Feedback

# Conditional Type Narrowing #56941 * Today, we check an expression like ```ts arg === 1 ? "someString" : 37 ``` by getting the type of both branches and unioning...

Design Notes

# Conditional Type Narrowing #56941 * Shouldn't be any perf impact for existing code because most code doesn't actually use a conditional type as the return type of a function,...

Design Notes