Typescript Map> “No overload matches this call”, but I don't get why?

后端 未结 0 631
甜味超标
甜味超标 2021-01-31 18:23

I am creating a boardgame in Typescript. In it I declare the following:

export enum PieceType {
    PAWN,
    KNIGHT2,
    KNIGHT4,
    WIZARD,
    KING
}

export         


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