Miscellaneous lint fixes (#20849)

This commit is contained in:
Andy
2017-10-22 15:22:50 -07:00
committed by GitHub
parent 4a0d3be1c0
commit 097d2acf71
129 changed files with 439 additions and 814 deletions

View File

@@ -43,7 +43,7 @@ interface ExecaReturns {
type ExecaError = Error & ExecaReturns;
interface ExecaChildPromise {
catch<TResult = never>(onrejected?: ((reason: ExecaError) => TResult | PromiseLike<TResult>) | undefined | null): Promise<ExecaReturns | TResult>;
catch<TResult = never>(onrejected?: ((reason: ExecaError) => TResult | PromiseLike<TResult>) | null): Promise<ExecaReturns | TResult>;
}
type ExecaChildProcess = ChildProcess & ExecaChildPromise & Promise<ExecaReturns>;