@babel/generator
Advanced tools
Comparing version 7.24.1 to 7.24.4
@@ -397,3 +397,4 @@ "use strict"; | ||
readonly, | ||
typeParameter | ||
typeParameter, | ||
typeAnnotation | ||
} = node; | ||
@@ -424,6 +425,8 @@ this.tokenChar(123); | ||
} | ||
this.tokenChar(58); | ||
if (typeAnnotation) { | ||
this.tokenChar(58); | ||
this.space(); | ||
this.print(typeAnnotation, node); | ||
} | ||
this.space(); | ||
this.print(node.typeAnnotation, node); | ||
this.space(); | ||
this.tokenChar(125); | ||
@@ -430,0 +433,0 @@ } |
{ | ||
"name": "@babel/generator", | ||
"version": "7.24.1", | ||
"version": "7.24.4", | ||
"description": "Turns an AST into code.", | ||
@@ -28,4 +28,4 @@ "author": "The Babel Team (https://babel.dev/team)", | ||
"devDependencies": { | ||
"@babel/helper-fixtures": "^7.24.1", | ||
"@babel/parser": "^7.24.1", | ||
"@babel/helper-fixtures": "^7.24.4", | ||
"@babel/parser": "^7.24.4", | ||
"@jridgewell/sourcemap-codec": "^1.4.15", | ||
@@ -32,0 +32,0 @@ "@types/jsesc": "^2.5.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
492886
4757