File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -474,11 +474,11 @@ declare class URLSearchParams {
474
474
* **Note**: Messages are prefixed with the respective logel level, starting with an upper-case letter, e.g. `"Log: "`.
475
475
*/
476
476
declare interface Console {
477
- log ( message : any ) : void ;
478
- debug ( message : any ) : void ;
479
- info ( message : any ) : void ;
480
- warn ( message : any ) : void ;
481
- error ( message : any ) : void ;
477
+ log ( ... objects : any [ ] ) : void ;
478
+ debug ( ... objects : any [ ] ) : void ;
479
+ info ( ... objects : any [ ] ) : void ;
480
+ warn ( ... objects : any [ ] ) : void ;
481
+ error ( ... objects : any [ ] ) : void ;
482
482
}
483
483
484
484
/**
Original file line number Diff line number Diff line change @@ -267,11 +267,11 @@ import {expectError, expectType} from 'tsd';
267
267
// console
268
268
{
269
269
expectType < Console > ( console )
270
- expectType < ( message : any ) => void > ( console . log ) ;
271
- expectType < ( message : any ) => void > ( console . debug ) ;
272
- expectType < ( message : any ) => void > ( console . info ) ;
273
- expectType < ( message : any ) => void > ( console . warn ) ;
274
- expectType < ( message : any ) => void > ( console . error ) ;
270
+ expectType < ( ... objects : any [ ] ) => void > ( console . log ) ;
271
+ expectType < ( ... objects : any [ ] ) => void > ( console . debug ) ;
272
+ expectType < ( ... objects : any [ ] ) => void > ( console . info ) ;
273
+ expectType < ( ... objects : any [ ] ) => void > ( console . warn ) ;
274
+ expectType < ( ... objects : any [ ] ) => void > ( console . error ) ;
275
275
}
276
276
277
277
// TextDecoder
You can’t perform that action at this time.
0 commit comments