We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
type A = { a: boolean; } type B = (v: A) => A const c: B = (a) => { return { a: true, asd: 235 } }
Why I don't have error?
But if I will write such code, then I get error:
const f = (v: A): A => { return { a: true, asd: 235 } }
The text was updated successfully, but these errors were encountered:
Duplicate of #241/#29390/#30198. (The first issue might not look immediately related but it's the root cause).
Sorry, something went wrong.
@jack-williams how i understand, this problem will not be solved, becouse first post was in 2014, right?
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.
Successfully merging a pull request may close this issue.
Why I don't have error?
But if I will write such code, then I get error:
The text was updated successfully, but these errors were encountered: