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 | 29 |
30 |
Tags
- SSR
- typeScript
- built in object
- tailwindcss
- useState
- graphQL
- hardhat
- concept
- REACT
- Ethereum
- JavaScript
- blockchain
- CLASS
- API
- node.js
- middleware
- 삶
- web
- CSS
- Redux
- 기준
- solidity
- evm
- nextJS
- Props
- error
- HTML
- Interface
- express.js
- bitcoin
Archives
- Today
- Total
목록UNION (1)
ReasonJun
Typescript : type (any / unknown / Tuple / Void / Never / Union / Intersection)
/// Any // All types are possible. However, in this case, there is no reason to use typescript, so it is rarely used. let hello3: any = 'Hello world' hello3 = 123 hello3 = false hello3 = null hello3 = {} hello3 = [] hello3= function () {} /// Unknown const z: any = 123 const u: unknown = 123 // When z is changed to u, all errors occur except for 'any'. // In other words, it is better to use 'unk..
Frontend/Typescript
2023. 6. 10. 00:41