Upgrade to TypeScript 4.1
Summary: allow-large-files Upgrade to TypeScript 4.1 Reviewed By: nikoant Differential Revision: D25122073 fbshipit-source-id: 7d2bc6f97595c825c9527b0c6ecab07698d5f981
This commit is contained in:
committed by
Facebook GitHub Bot
parent
c431657a39
commit
8025c49768
@@ -24,7 +24,7 @@ export default class Watchman {
|
||||
}
|
||||
this.client = new Client();
|
||||
this.client.setMaxListeners(250);
|
||||
await new Promise((resolve, reject) => {
|
||||
await new Promise<void>((resolve, reject) => {
|
||||
const onError = (err: Error) => {
|
||||
this.client!.removeAllListeners('error');
|
||||
reject(err);
|
||||
|
||||
Reference in New Issue
Block a user