Try to use type assertion const data: IJsonType = jsonData as IJsonType; Typescript will not cast it for you in this case. You will need to typecast it ...
確定! 回上一頁