강의

멘토링

커뮤니티

Inflearn Community Q&A

lllljw34191410's profile image
lllljw34191410

asked

Applying TypeScript to Node.js (feat. NodeBird)

Sequelize

마지막에 type과 interface 추가하는 부분

Written on

·

204

0

type에 들어가는 [key: string]: string이 어떻게 작동하는지 알려주실 수 있나요?

nodejs웹앱typescript

Answer 1

0

zerocho님의 프로필 이미지
zerocho
Instructor

객체에 키와 밸류가 있으면 키도 문자열이고 밸류도 문자열이라는 뜻입니다.

lllljw34191410's profile image
lllljw34191410

asked

Ask a question