-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Label
Projects
Milestones
Assignee
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
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
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 A bug in TypeScript
Has Repro
This issue has compiler-backed repros: https://aka.ms/ts-repros
Help Wanted
You can do this
Array
type via []
syntax
Bug
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
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
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.
Support inferring 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
never
as the return type in JavaScript when overriding a class method that returns never
Awaiting More Feedback
#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
Correctly handle generic functions (e.g.: This issue has compiler-backed repros: https://aka.ms/ts-repros
In Discussion
Not yet reached consensus
Suggestion
An idea for TypeScript
Object.freeze
) passed as callbacks to generic functions (e.g.: Array.prototype.map
)
Has Repro
#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 A bug in TypeScript
Has Repro
This issue has compiler-backed repros: https://aka.ms/ts-repros
typeof
of that base class
Bug
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
Implicit Symbol.iterator call in for..of loops / spread destructuring doesn't infer Noncontroversial enhancements
Has Repro
This issue has compiler-backed repros: https://aka.ms/ts-repros
Suggestion
An idea for TypeScript
this
generic type parameter
Experience Enhancement
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.
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
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
Previous Next
ProTip!
Type g p on any issue or pull request to go back to the pull request listing page.