directory-tree 3.3.2 → 3.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.d.ts +1 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -7,7 +7,7 @@ interface IObj {
7
7
  declare function directoryTree<
8
8
  TCustomFile extends IObj = IObj,
9
9
  TCustomDir extends IObj = IObj,
10
- TCustomResult = TCustomFile & TCustomDir
10
+ TCustomResult extends IObj = TCustomFile & TCustomDir
11
11
  >(
12
12
  path: string,
13
13
  options?: directoryTree.DirectoryTreeOptions,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "directory-tree",
3
- "version": "3.3.2",
3
+ "version": "3.4.0",
4
4
  "description": "Convert a directory tree to a JS object.",
5
5
  "repository": {
6
6
  "type": "git",