开发者

What is the replacement for askConfirmation in Angular 14 Schematics?

How can I accomplish this in angular 14?

It seems askConfirmation is no longe开发者_Python百科r exported from '@angular/cli/utilities/prompt'.

https://github.com/angular/angular-cli/blob/be32c9aa34761f7ee5f6c7eafd8872e76350061d/packages/angular/cli/commands/add-impl.ts#L211


Ended up importing from:

"@angular/cli/src/utilities/prompt";

Not the best solution, but if they don't export it, it'll have to come from src.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜