@@ -139,7 +139,7 @@ const {
139139 * (path: PathOrFileDescriptor, options: ({ encoding?: null | undefined, flag?: string | undefined } & import("events").Abortable) | undefined | null, callback: BufferCallback): void,
140140 * (path: PathOrFileDescriptor, options: ({ encoding: BufferEncoding, flag?: string | undefined } & import("events").Abortable) | BufferEncoding, callback: StringCallback): void,
141141 * (path: PathOrFileDescriptor, options: (ObjectEncodingOptions & { flag?: string | undefined } & import("events").Abortable) | BufferEncoding | undefined | null, callback: StringOrBufferCallback): void,
142- * (path: PathOrFileDescriptor, callback: BufferCallback): void
142+ * (path: PathOrFileDescriptor, callback: BufferCallback): void,
143143 * }} ReadFile
144144 */
145145
@@ -151,7 +151,7 @@ const {
151151 * @typedef {{
152152 * (path: PathOrFileDescriptor, options?: { encoding?: null | undefined, flag?: string | undefined } | null): Buffer,
153153 * (path: PathOrFileDescriptor, options: { encoding: BufferEncoding, flag?: string | undefined } | BufferEncoding): string,
154- * (path: PathOrFileDescriptor, options?: (ObjectEncodingOptions & { flag?: string | undefined }) | BufferEncoding | null): string | Buffer
154+ * (path: PathOrFileDescriptor, options?: (ObjectEncodingOptions & { flag?: string | undefined }) | BufferEncoding | null): string | Buffer,
155155 * }} ReadFileSync
156156 */
157157
@@ -162,7 +162,7 @@ const {
162162 * (path: PathLike, options: (ObjectEncodingOptions & { withFileTypes?: false | undefined, recursive?: boolean | undefined }) | BufferEncoding | undefined | null, callback: (err: NodeJS.ErrnoException | null, files?: string[] | Buffer[]) => void): void,
163163 * (path: PathLike, callback: (err: NodeJS.ErrnoException | null, files?: string[]) => void): void,
164164 * (path: PathLike, options: ObjectEncodingOptions & { withFileTypes: true, recursive?: boolean | undefined }, callback: (err: NodeJS.ErrnoException | null, files?: Dirent<string>[]) => void): void,
165- * (path: PathLike, options: { encoding: "buffer", withFileTypes: true, recursive?: boolean | undefined }, callback: (err: NodeJS.ErrnoException | null, files: Dirent<Buffer>[]) => void): void
165+ * (path: PathLike, options: { encoding: "buffer", withFileTypes: true, recursive?: boolean | undefined }, callback: (err: NodeJS.ErrnoException | null, files: Dirent<Buffer>[]) => void): void,
166166 * }} Readdir
167167 */
168168
@@ -172,7 +172,7 @@ const {
172172 * (path: PathLike, options: { encoding: "buffer", withFileTypes?: false | undefined, recursive?: boolean | undefined } | "buffer"): Buffer[],
173173 * (path: PathLike, options?: (ObjectEncodingOptions & { withFileTypes?: false | undefined, recursive?: boolean | undefined }) | BufferEncoding | null): string[] | Buffer[],
174174 * (path: PathLike, options: ObjectEncodingOptions & { withFileTypes: true, recursive?: boolean | undefined }): Dirent[],
175- * (path: PathLike, options: { encoding: "buffer", withFileTypes: true, recursive?: boolean | undefined }): Dirent<Buffer>[]
175+ * (path: PathLike, options: { encoding: "buffer", withFileTypes: true, recursive?: boolean | undefined }): Dirent<Buffer>[],
176176 * }} ReaddirSync
177177 */
178178
@@ -189,15 +189,15 @@ const {
189189 * (path: PathLike, options: EncodingOption, callback: StringCallback): void,
190190 * (path: PathLike, options: BufferEncodingOption, callback: BufferCallback): void,
191191 * (path: PathLike, options: EncodingOption, callback: StringOrBufferCallback): void,
192- * (path: PathLike, callback: StringCallback): void
192+ * (path: PathLike, callback: StringCallback): void,
193193 * }} Readlink
194194 */
195195
196196/**
197197 * @typedef {{
198198 * (path: PathLike, options?: EncodingOption): string,
199199 * (path: PathLike, options: BufferEncodingOption): Buffer,
200- * (path: PathLike, options?: EncodingOption): string | Buffer
200+ * (path: PathLike, options?: EncodingOption): string | Buffer,
201201 * }} ReadlinkSync
202202 */
203203
@@ -206,7 +206,7 @@ const {
206206 * (path: PathLike, callback: StatsCallback): void,
207207 * (path: PathLike, options: (StatOptions & { bigint?: false | undefined }) | undefined, callback: StatsCallback): void,
208208 * (path: PathLike, options: StatOptions & { bigint: true }, callback: BigIntStatsCallback): void,
209- * (path: PathLike, options: StatOptions | undefined, callback: StatsOrBigIntStatsCallback): void
209+ * (path: PathLike, options: StatOptions | undefined, callback: StatsOrBigIntStatsCallback): void,
210210 * }} LStat
211211 */
212212
@@ -218,7 +218,7 @@ const {
218218 * (path: PathLike, options?: StatSyncOptions & { bigint?: false | undefined }): IStats,
219219 * (path: PathLike, options: StatSyncOptions & { bigint: true }): IBigIntStats,
220220 * (path: PathLike, options: StatSyncOptions & { bigint: boolean, throwIfNoEntry?: false | undefined }): IStats | IBigIntStats,
221- * (path: PathLike, options?: StatSyncOptions): IStats | IBigIntStats | undefined
221+ * (path: PathLike, options?: StatSyncOptions): IStats | IBigIntStats | undefined,
222222 * }} LStatSync
223223 */
224224
@@ -227,7 +227,7 @@ const {
227227 * (path: PathLike, callback: StatsCallback): void,
228228 * (path: PathLike, options: (StatOptions & { bigint?: false | undefined }) | undefined, callback: StatsCallback): void,
229229 * (path: PathLike, options: StatOptions & { bigint: true }, callback: BigIntStatsCallback): void,
230- * (path: PathLike, options: StatOptions | undefined, callback: StatsOrBigIntStatsCallback): void
230+ * (path: PathLike, options: StatOptions | undefined, callback: StatsOrBigIntStatsCallback): void,
231231 * }} Stat
232232 */
233233
@@ -239,7 +239,7 @@ const {
239239 * (path: PathLike, options?: StatSyncOptions & { bigint?: false | undefined }): IStats,
240240 * (path: PathLike, options: StatSyncOptions & { bigint: true }): IBigIntStats,
241241 * (path: PathLike, options: StatSyncOptions & { bigint: boolean, throwIfNoEntry?: false | undefined }): IStats | IBigIntStats,
242- * (path: PathLike, options?: StatSyncOptions): IStats | IBigIntStats | undefined
242+ * (path: PathLike, options?: StatSyncOptions): IStats | IBigIntStats | undefined,
243243 * }} StatSync
244244 */
245245
@@ -248,15 +248,15 @@ const {
248248 * (path: PathLike, options: EncodingOption, callback: StringCallback): void,
249249 * (path: PathLike, options: BufferEncodingOption, callback: BufferCallback): void,
250250 * (path: PathLike, options: EncodingOption, callback: StringOrBufferCallback): void,
251- * (path: PathLike, callback: StringCallback): void
251+ * (path: PathLike, callback: StringCallback): void,
252252 * }} RealPath
253253 */
254254
255255/**
256256 * @typedef {{
257257 * (path: PathLike, options?: EncodingOption): string,
258258 * (path: PathLike, options: BufferEncodingOption): Buffer,
259- * (path: PathLike, options?: EncodingOption): string | Buffer
259+ * (path: PathLike, options?: EncodingOption): string | Buffer,
260260 * }} RealPathSync
261261 */
262262
0 commit comments