250x250
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- JavaScript
- evm
- API
- web
- error
- 삶
- built in object
- express.js
- HTML
- CLASS
- SSR
- graphQL
- typeScript
- node.js
- solidity
- middleware
- nextJS
- Redux
- blockchain
- bitcoin
- useState
- Ethereum
- Props
- tailwindcss
- CSS
- concept
- 기준
- hardhat
- REACT
- Interface
Archives
- Today
- Total
ReasonJun
error : This expression is not callable. Not all constituents of type 'string | Dispatch<SetStateAction<string>>' are callable. Type 'string' has no call signatures. 본문
Frontend/Typescript
error : This expression is not callable. Not all constituents of type 'string | Dispatch<SetStateAction<string>>' are callable. Type 'string' has no call signatures.
ReasonJun 2023. 8. 14. 16:04728x90
reference :
https://kentcdodds.com/blog/wrapping-react-use-state-with-type-script
Wrapping React.useState with TypeScript
Stay up to date Subscribe to the newsletter to stay up to date with articles, courses and much more! Learn more Stay up to date Subscribe to the newsletter to stay up to date with articles, courses and much more! Learn more All rights reserved © Kent C. D
kentcdodds.com
728x90
'Frontend > Typescript' 카테고리의 다른 글
Typescript : Zod (0) | 2023.11.03 |
---|---|
What is "not assignable to parameter of type never" error in TypeScript? (0) | 2023.07.12 |
Typescript : When I use 'type annotation', 'type inference', 'type assertion' in typescript (0) | 2023.06.17 |
Typescript : additional provided types (void, never) (0) | 2023.06.17 |
Typescript : additional provided types (Enum) (0) | 2023.06.17 |
Comments