mirror of
https://github.com/swc-project/swc.git
synced 2024-12-23 05:32:09 +03:00
9 lines
183 B
TypeScript
9 lines
183 B
TypeScript
|
// @strict: true
|
||
|
|
||
|
// Verify that properties can vary independently in comparable relationship
|
||
|
|
||
|
declare const x: { a: 1, b: string };
|
||
|
declare const y: { a: number, b: 'a' };
|
||
|
|
||
|
x === y;
|