This commit is contained in:
Anders Hejlsberg
2017-11-10 13:46:51 -08:00
parent d15926d9c7
commit 16b68ff25b
4 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
//// [independentPropertyVariance.ts]
// Verify that properties can vary idependently in comparable relationship
// Verify that properties can vary independently in comparable relationship
declare const x: { a: 1, b: string };
declare const y: { a: number, b: 'a' };
@@ -9,5 +9,5 @@ x === y;
//// [independentPropertyVariance.js]
"use strict";
// Verify that properties can vary idependently in comparable relationship
// Verify that properties can vary independently in comparable relationship
x === y;

View File

@@ -1,5 +1,5 @@
=== tests/cases/conformance/types/typeRelationships/comparable/independentPropertyVariance.ts ===
// Verify that properties can vary idependently in comparable relationship
// Verify that properties can vary independently in comparable relationship
declare const x: { a: 1, b: string };
>x : Symbol(x, Decl(independentPropertyVariance.ts, 2, 13))

View File

@@ -1,5 +1,5 @@
=== tests/cases/conformance/types/typeRelationships/comparable/independentPropertyVariance.ts ===
// Verify that properties can vary idependently in comparable relationship
// Verify that properties can vary independently in comparable relationship
declare const x: { a: 1, b: string };
>x : { a: 1; b: string; }

View File

@@ -1,6 +1,6 @@
// @strict: true
// Verify that properties can vary idependently in comparable relationship
// Verify that properties can vary independently in comparable relationship
declare const x: { a: 1, b: string };
declare const y: { a: number, b: 'a' };