File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 6262 "tslint-config-prettier" : " ^1.13.0" ,
6363 "tslint-config-standard" : " ^7.1.0" ,
6464 "typedoc" : " ^0.17.6" ,
65- "typescript" : " ^2 .9.2 "
65+ "typescript" : " ^3 .9.6 "
6666 },
6767 "config" : {
6868 "ghooks" : {
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ class List<T> {
221221 ) : { [ key : string ] : TResult [ ] } {
222222 const initialValue : { [ key : string ] : TResult [ ] } = { }
223223 if ( ! mapper ) {
224- mapper = val => < TResult > ( < any > val )
224+ mapper = val => ( val as unknown ) as TResult
225225 }
226226 return this . Aggregate ( ( ac , v ) => {
227227 const key = grouper ( v )
@@ -375,6 +375,7 @@ class List<T> {
375375 keySelector : ( key : T ) => any ,
376376 comparer = keyComparer ( keySelector , false )
377377 ) : List < T > {
378+ // tslint:disable-next-line: no-use-before-declare
378379 return new OrderedList < T > ( this . _elements , comparer )
379380 }
380381
@@ -385,6 +386,7 @@ class List<T> {
385386 keySelector : ( key : T ) => any ,
386387 comparer = keyComparer ( keySelector , true )
387388 ) : List < T > {
389+ // tslint:disable-next-line: no-use-before-declare
388390 return new OrderedList < T > ( this . _elements , comparer )
389391 }
390392
You can’t perform that action at this time.
0 commit comments