浏览代码

feat(api): export `BaseDirectory` in `path` module (#1885)

Amr Bashir 4 年之前
父节点
当前提交
277f5ca5a8
共有 2 个文件被更改,包括 8 次插入1 次删除
  1. 6 0
      .changes/api-export-BaseDirectory.md
  2. 2 1
      tooling/api/src/path.ts

+ 6 - 0
.changes/api-export-BaseDirectory.md

@@ -0,0 +1,6 @@
+---
+"api": patch
+---
+
+Export `BaseDirectory` in `path` module
+

+ 2 - 1
tooling/api/src/path.ts

@@ -469,5 +469,6 @@ export {
   templateDir,
   videoDir,
   currentDir,
-  resolvePath
+  resolvePath,
+  BaseDirectory
 }