File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 1+ 2022-10-01T01:45:09.305Z
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ import toBinaryString = require( './index' );
2727	toBinaryString (  new  Uint32Array (  [  4  ]  ) [  0  ]  ) ;  // $ExpectType string 
2828} 
2929
30- // The function does not compile  if provided a value other than a number... 
30+ // The compiler throws an error  if the function is  provided a value other than a number... 
3131{ 
3232	toBinaryString (  true  ) ;  // $ExpectError 
3333	toBinaryString (  false  ) ;  // $ExpectError 
@@ -37,7 +37,7 @@ import toBinaryString = require( './index' );
3737	toBinaryString (  (  x : number  ) : number  =>  x  ) ;  // $ExpectError 
3838} 
3939
40- // The function does not compile  if provided insufficient arguments... 
40+ // The compiler throws an error  if the function is  provided insufficient arguments... 
4141{ 
4242	toBinaryString ( ) ;  // $ExpectError 
4343} 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments