diff options
Diffstat (limited to 'node_modules/@babel/helper-split-export-declaration/README.md')
| -rw-r--r-- | node_modules/@babel/helper-split-export-declaration/README.md | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/node_modules/@babel/helper-split-export-declaration/README.md b/node_modules/@babel/helper-split-export-declaration/README.md deleted file mode 100644 index 195f151e..00000000 --- a/node_modules/@babel/helper-split-export-declaration/README.md +++ /dev/null @@ -1,23 +0,0 @@ -# @babel/helper-split-export-declaration - -## API - -```js -declare export default splitExportDeclaration(path: NodePath); -``` - -## Usage - -```js -import traverse from "@babel/traverse"; -import splitExportDeclaration from "@babel/helper-split-export-declaration"; - -// ... - -traverse(file, { - ExportDefaultDeclaration(path) { - if (!path.get("declaration").isClassDeclaration()) return; - splitExportDeclaration(path); - }, -}); -``` |
