Skip to content

Commit e1bafab

Browse files
committed
fixup! refactor(@angular/build): use t.buildUndefinedNode instead of Scope#buildUndefinedNode
1 parent 539d161 commit e1bafab

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/angular/build/src/tools/babel/plugins/elide-angular-metadata.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* found in the LICENSE file at https://angular.dev/license
77
*/
88

9-
import type { NodePath, PluginObj } from '@babel/core';
9+
import type { NodePath, PluginObj, types as BabelTypes } from '@babel/core';
1010

1111
/**
1212
* The name of the Angular class metadata function created by the Angular compiler.
@@ -48,7 +48,7 @@ const angularMetadataFunctions: Record<string, (args: NodePath[]) => boolean> =
4848
*
4949
* @returns A babel plugin object instance.
5050
*/
51-
export default function ({ types: t }): PluginObj {
51+
export default function ({ types: t }: { types: typeof BabelTypes }): PluginObj {
5252
return {
5353
visitor: {
5454
CallExpression(path) {

0 commit comments

Comments
 (0)