Skip to content

Issues: microsoft/TypeScript

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Author
Filter by author
Loading
Label
Filter by label
Loading
Use alt + click/return to exclude labels
or + click/return for logical OR
Projects
Filter by project
Loading
Milestones
Filter by milestone
Loading
Assignee
Filter by who’s assigned
Sort

Issues list

Inconsistent typechecking with require() in JS and TS Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros Needs More Info The issue still hasn't been fully clarified
#60032 opened Sep 23, 2024 by u130b8
Error not issued when global type is an alias of an object type literal Bug A bug in TypeScript Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros
#57564 opened Feb 27, 2024 by rotu Backlog
Inconsistent type inference on overloaded function types Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros Help Wanted You can do this Possible Improvement The current behavior isn't wrong, but it's possible to see that it might be better in some cases
#57351 opened Feb 9, 2024 by jsalvata Backlog
mapped type with remapped keys unexpectedly widens type Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros Needs Investigation This issue needs a team member to investigate its status.
#57265 opened Feb 1, 2024 by rotu
Crash when defining Array type via [] syntax Bug A bug in TypeScript Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros Help Wanted You can do this
#57009 opened Jan 10, 2024 by rotu Backlog
Expression produces a union type that is too complex to represent Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros Needs Investigation This issue needs a team member to investigate its status.
#53234 opened Mar 13, 2023 by Jym77
Order of ReadonlySet/ReadonlyMap in union causes differing key inference Bug A bug in TypeScript Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros Union Order Dependence TS behavior is not supposed to depend on union order, but sometimes does
#52313 opened Jan 19, 2023 by jakebailey Backlog
Regression in 4.8 where string union type widens to string Bug A bug in TypeScript Fix Available A PR has been opened for this issue Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros Rescheduled This issue was previously scheduled to an earlier milestone
#50635 opened Sep 5, 2022 by me4502 TypeScript 5.7.0
Intersection causes incorrect type compatability Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros Needs Investigation This issue needs a team member to investigate its status.
#48720 opened Apr 15, 2022 by webstrand Backlog
Support inferring never as the return type in JavaScript when overriding a class method that returns never Awaiting More Feedback This means we'd like to hear from more people who would be helped by this feature Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros Suggestion An idea for TypeScript
#46791 opened Nov 12, 2021 by ExE-Boss
4 tasks done
Typescript 4.2.x - incorrectly infered generic return type of a record union (extra undefined) Bug A bug in TypeScript Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros
#43943 opened May 4, 2021 by TheEdward162 Backlog
Broken emit when Infinity or ‑Infinity ends up in a type position Bug A bug in TypeScript Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros
#42905 opened Feb 21, 2021 by ExE-Boss Backlog
Correctly handle generic functions (e.g.: Object.freeze) passed as callbacks to generic functions (e.g.: Array.prototype.map) Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros In Discussion Not yet reached consensus Suggestion An idea for TypeScript
#42862 opened Feb 18, 2021 by ExE-Boss
5 tasks done
The type of bitwise operations on 'any' operands should be 'number | bigint' Awaiting More Feedback This means we'd like to hear from more people who would be helped by this feature Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros Suggestion An idea for TypeScript
#42125 opened Dec 27, 2020 by fasttime
Error when trying to assign a subclass of a base class with generics to typeof of that base class Bug A bug in TypeScript Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros
#41770 opened Dec 2, 2020 by dummdidumm Backlog
Compile error if I named last array destructuring element. Bug A bug in TypeScript Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros
#41548 opened Nov 16, 2020 by heroboy Backlog
In JSDoc @type is not a type declaration, which it is much more like type conversion. Bug A bug in TypeScript Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros
#39650 opened Jul 18, 2020 by leecjson Backlog
improper declared type cause narrow type not work when its computed type is not union. Bug A bug in TypeScript Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros
#39114 opened Jun 17, 2020 by ShuiRuTian Backlog
Implicit Symbol.iterator call in for..of loops / spread destructuring doesn't infer this generic type parameter Experience Enhancement Noncontroversial enhancements Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros Suggestion An idea for TypeScript
#38388 opened May 7, 2020 by Validark Backlog
the type of super() should be instance, not void Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros Needs Investigation This issue needs a team member to investigate its status.
#37847 opened Apr 8, 2020 by LongTengDao Backlog
Support Intellisense for string/number literals in a widened union Experience Enhancement Noncontroversial enhancements Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros Suggestion An idea for TypeScript
#33471 opened Sep 17, 2019 by orta
5 tasks done
Backlog
Allow extending types referenced through interfaces Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros In Discussion Not yet reached consensus Suggestion An idea for TypeScript
#31843 opened Jun 10, 2019 by inad9300
Suggestion: Type annotations and interfaces for function declarations Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros In Discussion Not yet reached consensus Suggestion An idea for TypeScript
#22063 opened Feb 20, 2018 by mbrowne
this any typed in some JS object literals Bug A bug in TypeScript Domain: JavaScript The issue relates to JavaScript specifically Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros VS Code Tracked There is a VS Code equivalent to this issue
#22058 opened Feb 20, 2018 by mjbvz Backlog
Error inferring types of promise function Bug A bug in TypeScript Has Repro This issue has compiler-backed repros: https://aka.ms/ts-repros
#17873 opened Aug 17, 2017 by ghost Backlog
ProTip! Type g p on any issue or pull request to go back to the pull request listing page.