<!-- BUGS: Please use this template. --> <!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript --> <!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md --> <!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. --> **TypeScript Version:** 2.5.3 **Code** ```ts interface X { x: number } interface Y { x: number y: number } function f(x: Y) { } const g : (x: X) => void = f ``` **Expected behavior:** I would expect `g` to have an error because f can get called without the necessary `y` property... **Actual behavior:** ...but there isnt.
Activity
ahejlsberg commentedon Oct 24, 2017
See #18654.
ccorcos commentedon Oct 24, 2017
awesome! thanks. is this coming out with 2.6 or 2.7?
ahejlsberg commentedon Oct 24, 2017
It's in the 2.6 release.
https://blogs.msdn.microsoft.com/typescript/2017/10/12/announcing-typescript-2-6-rc/