2
0
mirror of synced 2025-01-11 22:54:12 +00:00

[typings] Fix flow issue

This commit is contained in:
Chris Bianca 2018-01-26 10:11:43 +00:00
parent 24d16e4853
commit 3f1c8c4571

View File

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