Merge pull request #6534 from athomann/add-helper-hoist-variables-api

Add API to babel-helper-hoist-vars README [skip ci]
This commit is contained in:
Sven SAULEAU 2017-10-23 10:23:32 +02:00 committed by GitHub
commit 546a844e32

View File

@ -1,5 +1,17 @@
# @babel/helper-hoist-variables
## Installation
```sh
npm install @babel/helper-hoist-variables --save
```
## API
```javascript
declare export default hoistVariables(path: NodePath, emit: Function, kind: "var" | "let" = "var");
```
## Usage
TODO