Dedicated worker postMessage marked as depricated #23653
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: working with current github version, error introduce with commit of the 29th of March 2018 (79e5e79)
Search Terms: worker, postmessage, deprecated
Issue
files lib.dom.d.ts and lib.webworker.d.ts mark the method "postMessage" of the "Worker" interface as being deprecated.
As I cannot find any information to support the claim that postMessage is depricated, nor do I see any new alternative method that should be used instead, I believe that this @deprecated has been inserted in the wrong place.
Playground Link: Just basing myself on the files in the repository here, no link available
The text was updated successfully, but these errors were encountered: