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.
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.