Skip to content

Commit f31fbdb

Browse files
authored
Fix documentation typo (#568)
1 parent 468fbe1 commit f31fbdb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export type CommonOptions<EncodingType> = {
206206
/**
207207
You can abort the spawned process using [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
208208
209-
When `AbortController.abort()` is called, [`.isCanceled`](https://github.com/sindresorhus/execa#iscanceled) becomes `false`.
209+
When `AbortController.abort()` is called, [`.isCanceled`](https://github.com/sindresorhus/execa#iscanceled) becomes `true`.
210210
211211
@example
212212
```

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -711,7 +711,7 @@ Type: [`AbortSignal`](https://developer.mozilla.org/en-US/docs/Web/API/AbortSign
711711

712712
You can abort the spawned process using [`AbortController`](https://developer.mozilla.org/en-US/docs/Web/API/AbortController).
713713

714-
When `AbortController.abort()` is called, [`.isCanceled`](#iscanceled) becomes `false`.
714+
When `AbortController.abort()` is called, [`.isCanceled`](#iscanceled) becomes `true`.
715715

716716
#### windowsVerbatimArguments
717717

0 commit comments

Comments
 (0)