File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1010 // Expr type not assignable to target type
1111 (<IFoo>{ a: null });
1212
13- // Expr type assignanle to target type
13+ // Expr type assignable to target type
1414 (<IFoo>{ a: 2, b: undefined });
1515
16- // Niether types is assignable to each other
16+ // Neither types is assignable to each other
1717 (<IFoo>{ c: null });
1818 ~~~~~~~~~~~~~~~~~
1919!!! Neither type '{ c: null; }' nor type 'IFoo' is assignable to the other:
Original file line number Diff line number Diff line change @@ -10,17 +10,17 @@ interface IFoo {
1010// Expr type not assignable to target type
1111( < IFoo > { a : null } );
1212
13- // Expr type assignanle to target type
13+ // Expr type assignable to target type
1414(< IFoo > { a : 2 , b : undefined } );
1515
16- // Niether types is assignable to each other
16+ // Neither types is assignable to each other
1717(< IFoo > { c : null } );
1818
1919//// [noImplicitAnyInCastExpression.js]
2020// verify no noImplictAny errors reported with cast expression
2121// Expr type not assignable to target type
2222{ a : null } ;
23- // Expr type assignanle to target type
23+ // Expr type assignable to target type
2424{ a : 2 , b : undefined } ;
25- // Niether types is assignable to each other
25+ // Neither types is assignable to each other
2626{ c : null } ;
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ interface IFoo {
1010// Expr type not assignable to target type
1111( < IFoo > { a : null } ) ;
1212
13- // Expr type assignanle to target type
13+ // Expr type assignable to target type
1414( < IFoo > { a : 2 , b : undefined } ) ;
1515
16- // Niether types is assignable to each other
16+ // Neither types is assignable to each other
1717( < IFoo > { c : null } ) ;
You can’t perform that action at this time.
0 commit comments