-
Notifications
You must be signed in to change notification settings - Fork 12.4k
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
Missing type check in typed function parameter scenario #11895
Labels
Comments
RyanCavanaugh
added
the
Needs Investigation
This issue needs a team member to investigate its status.
label
May 24, 2017
RyanCavanaugh
added
Duplicate
An existing issue was already created
and removed
Needs Investigation
This issue needs a team member to investigate its status.
labels
Sep 20, 2019
See #241 |
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
TypeScript Version: 2.0.3
Code
Expected behavior:
return {
object literal against theConcreteState
type, and display a compilation error, exactly as it does at "Revert "Updating some tests for resolved bugs" #3".stateItemTwo
andstateItemThree
Actual behavior:
reductionVar
being correctly detected and displayed asReduction<ConcreteState, ConcreteAction>
).stateItemTwo
/Three
occurs on the TypeScript Playground, and in Visual Studio Code 1.4, but does NOT occur in Visual Studio 2015 (update 3 with TypeScript 2 installed).The text was updated successfully, but these errors were encountered: