Skip to content

Commit 56f29dd

Browse files
authored
refactor(material/schematics): remove usage of deprecated function (#25815)
Replaces a call to a deprecated function that was logging a warning.
1 parent d5211de commit 56f29dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material/schematics/ng-update/migrations/hammer-gestures-v9/hammer-gestures-migration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ function unwrapExpression(node: ts.Node): ts.Node {
10011001
return unwrapExpression(node.expression);
10021002
} else if (ts.isAsExpression(node)) {
10031003
return unwrapExpression(node.expression);
1004-
} else if (ts.isTypeAssertion(node)) {
1004+
} else if (ts.isTypeAssertionExpression(node)) {
10051005
return unwrapExpression(node.expression);
10061006
}
10071007
return node;

0 commit comments

Comments
 (0)