Skip to content
Myr

Fix typo in index.d.ts (#441)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Will Bjorn · committed by GitHub · parent cae090f · Browse files · 1 file+7 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Trailers

  • Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>

Diff stats

1 file+7 added−1 removed

  • other:+7 added−1 removed

1 file+7 added−1 removed

modified:index.d.ts+7 added-1 removed
430 unmodified lines
431 const {stdout} = await execa('echo', ['unicorns']);432 console.log(stdout);433 //=> 'unicorns'434435436 // Cancelling a spawned process437438 const subprocess = execa('node');437 setTimeout(() => { spawned.cancel() }, 1000);439440 setTimeout(() => {441 subprocess.cancel()442 }, 1000);443444 try {445 await subprocess;446 } catch (error) {447 console.log(subprocess.killed); // true
108 unmodified lines