We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
TypeScript Version: nightly (2.2.0-dev.20161116)
Code
const p1: { x: number, y: number } = { x: 0, y: 1, z: 2 }; const p2: [number, number] = [0, 1, 2];
Expected behavior:
Errors on both lines.
Actual behavior:
Only the first line has an error.