From f31fbdbb0761d84020db396343941f23a61a1276 Mon Sep 17 00:00:00 2001 From: Gray Zhang Date: Sat, 12 Aug 2023 18:38:29 +0800 Subject: [PATCH] Fix documentation typo (#568) --- index.d.ts | 2 +- readme.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 5540af4bac..2b61406818 100644 --- a/index.d.ts +++ b/index.d.ts @@ -206,7 +206,7 @@ export type CommonOptions = { /** You can abort the spawned process using [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController). - When `AbortController.abort()` is called, [`.isCanceled`](https://github.com/sindresorhus/execa#iscanceled) becomes `false`. + When `AbortController.abort()` is called, [`.isCanceled`](https://github.com/sindresorhus/execa#iscanceled) becomes `true`. @example ``` diff --git a/readme.md b/readme.md index 48f5701ecc..7d8b15d61c 100644 --- a/readme.md +++ b/readme.md @@ -711,7 +711,7 @@ Type: [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSign You can abort the spawned process using [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController). -When `AbortController.abort()` is called, [`.isCanceled`](#iscanceled) becomes `false`. +When `AbortController.abort()` is called, [`.isCanceled`](#iscanceled) becomes `true`. #### windowsVerbatimArguments