aboutsummaryrefslogtreecommitdiff
path: root/node_modules/babel-types/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/babel-types/README.md')
-rw-r--r--node_modules/babel-types/README.md20
1 files changed, 19 insertions, 1 deletions
diff --git a/node_modules/babel-types/README.md b/node_modules/babel-types/README.md
index eaa2f8371..4c0162feb 100644
--- a/node_modules/babel-types/README.md
+++ b/node_modules/babel-types/README.md
@@ -49,6 +49,7 @@ Aliases: `Scopable`, `Function`, `BlockParent`, `FunctionParent`, `Expression`,
- `body`: `BlockStatement | Expression` (required)
- `async`: `boolean` (default: `false`)
- `returnType` (default: `null`)
+ - `typeParameters` (default: `null`)
### t.assignmentExpression(operator, left, right)
@@ -221,7 +222,7 @@ Aliases: `Function`, `Scopable`, `BlockParent`, `FunctionParent`, `Method`
See also `t.isClassProperty(node, opts)` and `t.assertClassProperty(node, opts)`.
-Aliases: `Flow`, `Property`
+Aliases: `Property`
- `key` (required)
- `value` (required)
@@ -361,6 +362,13 @@ See also `t.isEmptyStatement(node, opts)` and `t.assertEmptyStatement(node, opts
Aliases: `Statement`
+### t.emptyTypeAnnotation()
+
+See also `t.isEmptyTypeAnnotation(node, opts)` and `t.assertEmptyTypeAnnotation(node, opts)`.
+
+Aliases: `Flow`, `FlowBaseAnnotation`
+
+
### t.existentialTypeParam()
See also `t.isExistentialTypeParam(node, opts)` and `t.assertExistentialTypeParam(node, opts)`.
@@ -435,6 +443,16 @@ See also `t.isFile(node, opts)` and `t.assertFile(node, opts)`.
- `comments` (required)
- `tokens` (required)
+### t.forAwaitStatement(left, right, body)
+
+See also `t.isForAwaitStatement(node, opts)` and `t.assertForAwaitStatement(node, opts)`.
+
+Aliases: `Scopable`, `Statement`, `For`, `BlockParent`, `Loop`, `ForXStatement`
+
+ - `left`: `VariableDeclaration | LVal` (required)
+ - `right`: `Expression` (required)
+ - `body`: `Statement` (required)
+
### t.forInStatement(left, right, body)
See also `t.isForInStatement(node, opts)` and `t.assertForInStatement(node, opts)`.