We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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 } }