Skip to content

Commit c3a7fd9

Browse files
committed
update babel-types docs
1 parent f6b5fae commit c3a7fd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/babel-types/scripts/generators

packages/babel-types/scripts/generators/docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ const aliasDescriptions = {
206206
ForXStatement:
207207
"A cover of [ForInStatements and ForOfStatements](https://tc39.es/ecma262/#sec-for-in-and-for-of-statements).",
208208
Function:
209-
"A cover of functions and [method](#method)s, the must have `body` and `params`. Note: `Function` is different to `FunctionParent`.",
209+
"A cover of functions and [method](#method)s, the must have `body` and `params`. Note: `Function` is different to `FunctionParent`. For example, a `StaticBlock` is a `FunctionParent` but not `Function`.",
210210
FunctionParent:
211211
"A cover of AST nodes that start an execution context with new [VariableEnvironment](https://tc39.es/ecma262/#table-additional-state-components-for-ecmascript-code-execution-contexts). In other words, they define the scope of `var` declarations. FunctionParent did not include `Program` since Babel 7.",
212212
Immutable:

0 commit comments

Comments
 (0)