Event maps and redux-like type guards at the same time

前端 未结 0 925
滥情空心
滥情空心 2021-01-11 21:52

Let\'s say I\'m building an event manager for a chat app.

interface User {
    userName: string;
    color: string;
}

         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题