Version 5.0.4 -> 5.1.3 Regression when using generic types #54805
Labels
Bug
A bug in TypeScript
Fix Available
A PR has been opened for this issue
Rescheduled
This issue was previously scheduled to an earlier milestone
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Bug Report
π Search Terms
Generic, 5.1.3
π Version & Regression Information
β― Playground Link
https://www.typescriptlang.org/play?ts=5.1.3#code/C4TwDgpgBAMhAeBLAxgQwDYGED2BbXqAdgCYA8AKgAqojrarEB8UAvFAEoTLYBOZAzsB6JCAcwA0UQhABuEHowDcAKGWhIUAJKF+84OQTBqtesVYcIDbIXQhSAbyjBDALiiDhYqAF8lqgGYAroTIwIjWUMg8ls44+ERk5IwAFACUbnBIaFh4BCQUzPbKUCVQ0cCBPIRQ9t4q3qrcOsBaAHIAygCi7OQA+uSdABp9mADyALLjAIKtACIZCCgYcXlk2ro8+obGdAzMLMWR0aixuQlpikA
π» Code
π Actual behavior
The type of
INSERT_TEXT_COMMAND
isLexicalCommand<TPayload>
in5.1.3
(butLexicalCommand<InsertTextPayload>
in5.0.4
).π Expected behavior
The type of
INSERT_TEXT_COMMAND
should beLexicalCommand<InsertTextPayload>
.The text was updated successfully, but these errors were encountered: