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 10
10
// Expr type not assignable to target type
11
11
(<IFoo>{ a: null });
12
12
13
- // Expr type assignanle to target type
13
+ // Expr type assignable to target type
14
14
(<IFoo>{ a: 2, b: undefined });
15
15
16
- // Niether types is assignable to each other
16
+ // Neither types is assignable to each other
17
17
(<IFoo>{ c: null });
18
18
~~~~~~~~~~~~~~~~~
19
19
!!! 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 {
10
10
// Expr type not assignable to target type
11
11
( < IFoo > { a : null } );
12
12
13
- // Expr type assignanle to target type
13
+ // Expr type assignable to target type
14
14
(< IFoo > { a : 2 , b : undefined } );
15
15
16
- // Niether types is assignable to each other
16
+ // Neither types is assignable to each other
17
17
(< IFoo > { c : null } );
18
18
19
19
//// [noImplicitAnyInCastExpression.js]
20
20
// verify no noImplictAny errors reported with cast expression
21
21
// Expr type not assignable to target type
22
22
{ a : null } ;
23
- // Expr type assignanle to target type
23
+ // Expr type assignable to target type
24
24
{ a : 2 , b : undefined } ;
25
- // Niether types is assignable to each other
25
+ // Neither types is assignable to each other
26
26
{ c : null } ;
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ interface IFoo {
10
10
// Expr type not assignable to target type
11
11
( < IFoo > { a : null } ) ;
12
12
13
- // Expr type assignanle to target type
13
+ // Expr type assignable to target type
14
14
( < IFoo > { a : 2 , b : undefined } ) ;
15
15
16
- // Niether types is assignable to each other
16
+ // Neither types is assignable to each other
17
17
( < IFoo > { c : null } ) ;
You can’t perform that action at this time.
0 commit comments