Skip to content

Commit

Permalink
feat: apply code reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
younggglcy committed Dec 16, 2023
1 parent 0b46efe commit 40c2023
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {type Buffer} from 'node:buffer';
import {type ChildProcess} from 'node:child_process';
import {type Stream, type Readable as ReadableStream, type Writable as WritableStream} from 'node:stream';

Expand Down Expand Up @@ -202,7 +201,7 @@ export type CommonOptions<EncodingType extends EncodingOption = DefaultEncodingO
readonly shell?: boolean | string;

/**
Specify the character encoding used to decode the `stdout` and `stderr` output. If set to `'buffer'` or `null`, then `stdout` and `stderr` will be a `Buffer` instead of a string.
Specify the character encoding used to decode the `stdout` and `stderr` output. If set to `'buffer'`, then `stdout` and `stderr` will be a `Uint8Array` instead of a string.
@default 'utf8'
*/
Expand Down

0 comments on commit 40c2023

Please sign in to comment.