mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-12 20:01:02 -05:00
Fix typo
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -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' };
|
||||
|
||||
Reference in New Issue
Block a user