Missing optional argument in console.profileEnd #24869
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: 3.0.0-dev.20180609
Search Terms: profileEnd console missing argument profile reportName
Code
https://github.com/Microsoft/TypeScript/blob/ba4bf21eade396ac0d82ab1278dfddc6ce69c653/lib/lib.webworker.d.ts#L323
Expected behavior: Type checker shouldn't complain about argument, according to MDN
Actual behavior: Type checker complains about argument. There is missing optional argument for
console.profileEnd
definition.Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: