Skip to content

Commit c50da5e

Browse files
committed
Fix type
1 parent 8c9fa01 commit c50da5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/transform-node.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,8 @@ class Transformer extends Source {
553553
if (node instanceof angular.TaggedTemplateLiteral) {
554554
return this.#create<babel.TaggedTemplateExpression>({
555555
type: 'TaggedTemplateExpression',
556-
tag: this.#transform(node.tag),
557-
quasi: this.#transform(node.template),
556+
tag: this.#transform(node.tag) as babel.Expression,
557+
quasi: this.#transform(node.template) as babel.TemplateLiteral,
558558
...node.sourceSpan,
559559
});
560560
}

0 commit comments

Comments
 (0)