type V = { value: number; } function id(x: X): X { return x; } id(null).value; //^ defined: 3 // ^ defined: 1 export {};