Skip to content

Commit 4052130

Browse files
fix(google-maps): fix update schematic (#31448)
This change fixes the `updateToV20` schematic which should be a factory function not the schematic itself.
1 parent 48436d1 commit 4052130

File tree

1 file changed

+5
-1
lines changed
  • src/google-maps/schematics/ng-update

1 file changed

+5
-1
lines changed

src/google-maps/schematics/ng-update/index.ts

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

9+
import {Rule} from '@angular-devkit/schematics';
10+
911
/** Entry point for the migration schematics with target of Angular Material v20 */
10-
export function updateToV20(): void {}
12+
export function updateToV20(): Rule {
13+
return () => {};
14+
}

0 commit comments

Comments
 (0)