[typings] Fix flow issue

This commit is contained in:
Chris Bianca 2018-01-26 10:11:43 +00:00
parent 24d16e4853
commit 3f1c8c4571
1 changed files with 1 additions and 1 deletions

View File

@ -107,9 +107,9 @@ export default class PhoneAuthListener {
for (let i = 0, len = events.length; i < len; i++) {
const type = events[i];
// $FlowBug: Flow doesn't support indexable signatures on classes: https://github.com/facebook/flow/issues/1323
SharedEventEmitter.once(
this._internalEvents[type],
// $FlowBug: Flow doesn't support indexable signatures on classes: https://github.com/facebook/flow/issues/1323
this[`_${type}Handler`].bind(this)
);
}