From 9cebe88a9c68bcae23cf10514f6880d5eeaa9050 Mon Sep 17 00:00:00 2001 From: Adam Thomann Date: Sun, 22 Oct 2017 21:31:07 -0400 Subject: [PATCH] Add API to babel-helper-hoist-vars README --- packages/babel-helper-hoist-variables/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/babel-helper-hoist-variables/README.md b/packages/babel-helper-hoist-variables/README.md index 1ac18e57c5..5550490f13 100644 --- a/packages/babel-helper-hoist-variables/README.md +++ b/packages/babel-helper-hoist-variables/README.md @@ -1,5 +1,10 @@ # @babel/helper-hoist-variables +## API +```javascript +declare export default hoistVariables(path: NodePath, emit: Function, kind: "var" | "let" = "var"); +``` + ## Usage TODO