[typings] Fix flow issue
This commit is contained in:
parent
24d16e4853
commit
3f1c8c4571
@ -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)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user