ts7053 error(feat : string타입의 객체key 사용)

bebrain·2023년 6월 11일
0

Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ "/": string; "/about": string; }'.
No index signature with a parameter of type 'string' was found on type '{ "/": string; "/about": string; }'.ts(7053)


참조 : https://soopdop.github.io/2020/12/01/index-signatures-in-typescript/

0개의 댓글

관련 채용 정보