diff --git a/tests/baselines/reference/noImplicitAnyInCastExpression.errors.txt b/tests/baselines/reference/noImplicitAnyInCastExpression.errors.txt index 271f869360..bc7542df51 100644 --- a/tests/baselines/reference/noImplicitAnyInCastExpression.errors.txt +++ b/tests/baselines/reference/noImplicitAnyInCastExpression.errors.txt @@ -10,10 +10,10 @@ // Expr type not assignable to target type ({ a: null }); - // Expr type assignanle to target type + // Expr type assignable to target type ({ a: 2, b: undefined }); - // Niether types is assignable to each other + // Neither types is assignable to each other ({ c: null }); ~~~~~~~~~~~~~~~~~ !!! Neither type '{ c: null; }' nor type 'IFoo' is assignable to the other: diff --git a/tests/baselines/reference/noImplicitAnyInCastExpression.js b/tests/baselines/reference/noImplicitAnyInCastExpression.js index 6501d17a5f..1b7cc59c7c 100644 --- a/tests/baselines/reference/noImplicitAnyInCastExpression.js +++ b/tests/baselines/reference/noImplicitAnyInCastExpression.js @@ -10,17 +10,17 @@ interface IFoo { // Expr type not assignable to target type ({ a: null }); -// Expr type assignanle to target type +// Expr type assignable to target type ({ a: 2, b: undefined }); -// Niether types is assignable to each other +// Neither types is assignable to each other ({ c: null }); //// [noImplicitAnyInCastExpression.js] // verify no noImplictAny errors reported with cast expression // Expr type not assignable to target type { a: null }; -// Expr type assignanle to target type +// Expr type assignable to target type { a: 2, b: undefined }; -// Niether types is assignable to each other +// Neither types is assignable to each other { c: null }; diff --git a/tests/cases/compiler/noImplicitAnyInCastExpression.ts b/tests/cases/compiler/noImplicitAnyInCastExpression.ts index afbdfa1ec1..5566b898a0 100644 --- a/tests/cases/compiler/noImplicitAnyInCastExpression.ts +++ b/tests/cases/compiler/noImplicitAnyInCastExpression.ts @@ -10,8 +10,8 @@ interface IFoo { // Expr type not assignable to target type ({ a: null }); -// Expr type assignanle to target type +// Expr type assignable to target type ({ a: 2, b: undefined }); -// Niether types is assignable to each other +// Neither types is assignable to each other ({ c: null }); \ No newline at end of file