Add missing class annotations xplat/js

Reviewed By: SamChou19815

Differential Revision: D38373443

fbshipit-source-id: 1222c4845ebd6b72bd6f54af1a27cf8542dd883a
This commit is contained in:
Pieter Vanderwerff authored and Facebook GitHub Bot committed 2022-08-03 12:43:58 -07:00
1 parent 2fa04be062
commit ee3d3c248d
66 files changed
+378 -294

No files matched your search

+2 -2
View File
@@ -241,7 +241,7 @@ class MessageQueue {
params: mixed[],
onFail: ?(...mixed[]) => void,
onSucc: ?(...mixed[]) => void,
) {
): void {
this.processCallbacks(moduleID, methodID, params, onFail, onSucc);
this._queue[MODULE_IDS].push(moduleID);
@@ -427,7 +427,7 @@ class MessageQueue {
Systrace.endEvent();
}
__invokeCallback(cbID: number, args: mixed[]) {
__invokeCallback(cbID: number, args: mixed[]): void {
this._lastFlush = Date.now();
this._eventLoopStartTime = this._lastFlush;