From 331d3268e2bac2941bfd1e8cd20331ac870702bd Mon Sep 17 00:00:00 2001 From: Tim Yung Date: Tue, 23 Jun 2020 13:43:04 -0700 Subject: [PATCH] EventEmitter: Import `EventSubscription` from `EventEmitter` Summary: Changes dependents to import the `EventSubscription` interface type from `EventEmitter` instead of `EventSubscription.js`. Changelog: [Internal] (Note: this ignores all push blocking failures!) Reviewed By: cpojer Differential Revision: D22182313 fbshipit-source-id: 31448ea5ee3038f806a417f23597da1edd4e4e9b --- Libraries/WebSocket/WebSocket.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/WebSocket/WebSocket.js b/Libraries/WebSocket/WebSocket.js index 0b051c48e4c..5023a0b07fe 100644 --- a/Libraries/WebSocket/WebSocket.js +++ b/Libraries/WebSocket/WebSocket.js @@ -20,7 +20,7 @@ const base64 = require('base64-js'); const binaryToBase64 = require('../Utilities/binaryToBase64'); const invariant = require('invariant'); -import type EventSubscription from '../vendor/emitter/EventSubscription'; +import {type EventSubscription} from '../vendor/emitter/EventEmitter'; import NativeWebSocketModule from './NativeWebSocketModule'; type ArrayBufferView =