ts2322 Type '() => void' is not assignable to type 'null'.ts(2322)이렇게 하면 에러 발생이러면 해결...타입스크립트에서만 나는 에러다.. 꼭 타입 지정해주기!
TypeScript Common Errors!codesandboxme-react-typescript-study-jumdgg?fontsize=14&hidenavigation=1&theme=darkerror TS2339: Property --- does not exist
리액트 프로젝트에서 이미지 첨부를 하려고 하니 타입스크립트 에러가 났다... src 경로에 있는 'custom.d.ts' 파일을 수정하니 해결 되었다. > 참고 Using images in React and TypeScript with Webpack 5
Error ERR_REQUIRE_ESM: Must use import to ...