mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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
This commit is contained in:
committed by
Facebook GitHub Bot
parent
15911acd83
commit
331d3268e2
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user