typescript 4#todoapp-angular-ngrx

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了typescript 4#todoapp-angular-ngrx相关的知识,希望对你有一定的参考价值。


//..............................



export const DELETE_TODO = '[Todo] DELETE_TODO'; 

export const DELETE_TODO_SUCCESS = '[Todo] DELETE_TODO_SUCCESS'; 

export const DELETE_TODO_ERROR = '[Todo] DELETE_TODO_ERROR'; 


//................................


export class DeleteTodo implements Action {
    readonly type = DELETE_TODO; 


    constructor(public payload: TodoState){} 

} 

export class DeleteTodoSuccess implements Action {
    readonly type = DELETE_TODO_SUCCESS; 


    constructor(public payload: TodoState){} 

} 

export class DeleteTodoError implements Action {
    readonly type = DELETE_TODO_ERROR; 


    constructor(public payload: TodoState){} 

} 

以上是关于typescript 4#todoapp-angular-ngrx的主要内容,如果未能解决你的问题,请参考以下文章

TypeScript 发布 4.9 beta

TypeScript + EsLint 缩进:预期缩进 4 个空格,但发现 6

TypeScript 发布 4.7 beta 版本

精读《TypeScript 4》

TypeScript 发布 4.8 beta 版本

第2547期TypeScript 4.6 正式发布