Incorrect parameter type in console.debug #13521
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Fixed
A PR has been merged for this issue
Help Wanted
You can do this
Milestone
TypeScript Version: 2.1.5
Code
In lib.es6.d.ts, console.debug is defined as
while console.log is
Expected behavior:
Shouldn't the message parameter have the same type, any ? According to https://msdn.microsoft.com/en-us/library/hh696634.aspx , they are supposed to be identical.
The text was updated successfully, but these errors were encountered: