最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

angular schematics - Ngrx action group: automatic way to rewrite old Actions - Stack Overflow

programmeradmin0浏览0评论

I have over 800 Actions in my project written in the old form:

export const GetAction = createAction(
  '[BOOK] GET',

  props<{
    filter: BookFilterModel,
  }>(),
);

export const GetFailAction = createAction(
  '[BOOK] GET_FAIL',
);

export const GetSuccessAction = createAction(
  '[BOOK] GET_SUCCESS',

  props<{
    book: BookModel,
  }>(),
);

Is there a way to rewrite them to Action Group automatically?

发布评论

评论列表(0)

  1. 暂无评论