This is where mapped types will come in handy, so let us use the builtin mapped type, Readonly , for this. 1, type ReadonlyPerson = Readonly< ...
確定! 回上一頁