@babel/plugin-transform-typescript
Advanced tools
Comparing version 7.19.3 to 7.20.0
@@ -471,3 +471,3 @@ "use strict"; | ||
TSAsExpression(path) { | ||
[`TSAsExpression${_core.types.tsSatisfiesExpression ? "|TSSatisfiesExpression" : ""}`](path) { | ||
let { | ||
@@ -479,3 +479,3 @@ node | ||
node = node.expression; | ||
} while (_core.types.isTSAsExpression(node)); | ||
} while (_core.types.isTSAsExpression(node) || _core.types.isTSSatisfiesExpression != null && _core.types.isTSSatisfiesExpression(node)); | ||
@@ -482,0 +482,0 @@ path.replaceWith(node); |
{ | ||
"name": "@babel/plugin-transform-typescript", | ||
"version": "7.19.3", | ||
"version": "7.20.0", | ||
"description": "Transform TypeScript into ES.next", | ||
@@ -22,3 +22,3 @@ "repository": { | ||
"@babel/helper-plugin-utils": "^7.19.0", | ||
"@babel/plugin-syntax-typescript": "^7.18.6" | ||
"@babel/plugin-syntax-typescript": "^7.20.0" | ||
}, | ||
@@ -29,6 +29,6 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@babel/core": "^7.19.3", | ||
"@babel/core": "^7.19.6", | ||
"@babel/helper-plugin-test-runner": "^7.18.6", | ||
"@babel/traverse": "^7.19.3", | ||
"@babel/types": "^7.19.3" | ||
"@babel/traverse": "^7.20.0", | ||
"@babel/types": "^7.20.0" | ||
}, | ||
@@ -35,0 +35,0 @@ "homepage": "https://babel.dev/docs/en/next/babel-plugin-transform-typescript", |
Sorry, the diff of this file is not supported yet
113109
131
3
7
2
25