Skip to content

Dedicated worker postMessage marked as depricated #23653

@efrancis

Description

@efrancis

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

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptFixedA PR has been merged for this issueHelp WantedYou can do this

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions