From 09ae073458187de55419520e814ec7132ac3fa9b Mon Sep 17 00:00:00 2001
From: Tien Do <tiendq@gmail.com>
Date: Mon, 10 Sep 2018 21:20:42 +0700
Subject: [PATCH] doc: add history for withFileTypes in fs.readdir[Sync]()

PR-URL: https://github.com/nodejs/node/pull/22794
Fixes: https://github.com/nodejs/node/issues/22777
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
---
 doc/api/fs.md | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/api/fs.md b/doc/api/fs.md
index d7cfcf46347af7..a16f5902766361 100644
--- a/doc/api/fs.md
+++ b/doc/api/fs.md
@@ -2395,6 +2395,9 @@ a `Promise` for an `Object` with `bytesRead` and `buffer` properties.
 <!-- YAML
 added: v0.1.8
 changes:
+  - version: v10.10.0
+    pr-url: https://github.com/nodejs/node/pull/22020
+    description: New option `withFileTypes` was added.
   - version: v10.0.0
     pr-url: https://github.com/nodejs/node/pull/12562
     description: The `callback` parameter is no longer optional. Not passing
@@ -2436,6 +2439,9 @@ If `options.withFileTypes` is set to `true`, the `files` array will contain
 <!-- YAML
 added: v0.1.21
 changes:
+  - version: v10.10.0
+    pr-url: https://github.com/nodejs/node/pull/22020
+    description: New option `withFileTypes` was added.
   - version: v7.6.0
     pr-url: https://github.com/nodejs/node/pull/10739
     description: The `path` parameter can be a WHATWG `URL` object using `file:`