Skip to content

Commit

Permalink
Fix duplicate function declaration in WebSockets (#22098)
Browse files Browse the repository at this point in the history
Summary:
Fixes the only ESLint error pending to resolve. It was a duplicate `get` declaration.
Pull Request resolved: #22098

Differential Revision: D12918078

Pulled By: TheSavior

fbshipit-source-id: c738d6880241dbc1f1ddc06c2d4e52443c00768a
  • Loading branch information
ignacioola authored and facebook-github-bot committed Nov 4, 2018
1 parent a09aca5 commit b03b9d5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Libraries/WebSocket/WebSocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,6 @@ class WebSocket extends EventTarget(...WEBSOCKET_EVENTS) {
this._binaryType = binaryType;
}

get binaryType(): ?BinaryType {
return this._binaryType;
}

close(code?: number, reason?: string): void {
if (this.readyState === this.CLOSING || this.readyState === this.CLOSED) {
return;
Expand Down

0 comments on commit b03b9d5

Please sign in to comment.