File tree Expand file tree Collapse file tree 3 files changed +14
-14
lines changed
lib/node_modules/@stdlib/stats/incr/nanmax Expand file tree Collapse file tree 3 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -23,20 +23,20 @@ import incrnanmax = require( './index' );
2323
2424// The function returns an accumulator function...
2525{
26- incrnanmax ( ) ; // $ExpectType accumulator
26+ incrnanmax ( ) ; // $ExpectType accumulator
2727}
2828
2929// The compiler throws an error if the function is provided arguments...
3030{
31- incrnanmax ( '5' ) ; // $ExpectError
32- incrnanmax ( 5 ) ; // $ExpectError
33- incrnanmax ( true ) ; // $ExpectError
34- incrnanmax ( false ) ; // $ExpectError
35- incrnanmax ( null ) ; // $ExpectError
36- incrnanmax ( undefined ) ; // $ExpectError
37- incrnanmax ( [ ] ) ; // $ExpectError
38- incrnanmax ( { } ) ; // $ExpectError
39- incrnanmax ( ( x : number ) : number => x ) ; // $ExpectError
31+ incrnanmax ( '5' ) ; // $ExpectError
32+ incrnanmax ( 5 ) ; // $ExpectError
33+ incrnanmax ( true ) ; // $ExpectError
34+ incrnanmax ( false ) ; // $ExpectError
35+ incrnanmax ( null ) ; // $ExpectError
36+ incrnanmax ( undefined ) ; // $ExpectError
37+ incrnanmax ( [ ] ) ; // $ExpectError
38+ incrnanmax ( { } ) ; // $ExpectError
39+ incrnanmax ( ( x : number ) : number => x ) ; // $ExpectError
4040}
4141
4242// The function returns an accumulator function which returns an accumulated result...
Original file line number Diff line number Diff line change 6464 " incremental" ,
6565 " accumulator"
6666 ]
67- }
67+ }
Original file line number Diff line number Diff line change @@ -34,9 +34,9 @@ tape( 'main export is a function', function test( t ) {
3434 t . end ( ) ;
3535} ) ;
3636
37- tape ( 'the function returns an accumulator function' , function test ( t ) {
38- t . equal ( typeof incrnanmax ( ) , 'function' , 'returns a function' ) ;
39- t . end ( ) ;
37+ tape ( 'the function returns an accumulator function' , function test ( t ) {
38+ t . equal ( typeof incrnanmax ( ) , 'function' , 'returns a function' ) ;
39+ t . end ( ) ;
4040} ) ;
4141
4242tape ( 'if not provided any values, the initial returned maximum value is `null`' , function test ( t ) {
You can’t perform that action at this time.
0 commit comments