index signature 추가하기 문제 상황 !객체의 key 값으로 접근해서 value 값을 가져오고 싶었는데 Index signature of object type implicitly has an 'any' type라는 에러 발생 stack overflow에 해결 방법이 있었다! https://stackoverflow.com/questions/32968332/how-do-i-prevent-the-error-index-signature-of-object-type-implicitly-has-an-an index signature를 추가해서 타입스크립트가 key 값에 어떤 타입이 들어가는지 알 수 있도록 해주라는 것 1234type sampleObject = { firstKey: string; [key: stirng]: string;};