socket.io Could not find a declaration file for module 'module-name'. '/path/to/module-name.js' implicitly has an 'any' type 에러

치즈말랑이·2022년 7월 1일
0

참고: https://stackoverflow.com/questions/41292559/could-not-find-a-declaration-file-for-module-module-name-path-to-module-nam

ES문법인 import from 이 아니라 CommonJS 문법인 require를 사용하면 해결된다

profile
공부일기

0개의 댓글