```typescript 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: ```typescript const f = (v: A): A => { return { a: true, asd: 235 } } ```
Activity
jack-williams commentedon May 3, 2019
Duplicate of #241/#29390/#30198. (The first issue might not look immediately related but it's the root cause).
snatvb commentedon May 6, 2019
Jack Williams (@jack-williams) how i understand, this problem will not be solved, becouse first post was in 2014, right?
typescript-bot commentedon May 8, 2019
This issue has been marked as a 'Duplicate' and has seen no recent activity. It has been automatically closed for house-keeping purposes.