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 | 31 |
Tags
- Ethereum
- SSR
- useState
- CSS
- nextJS
- CLASS
- express.js
- node.js
- REACT
- Redux
- error
- HTML
- concept
- Props
- bitcoin
- tailwindcss
- Interface
- middleware
- typeScript
- web
- graphQL
- API
- evm
- built in object
- hardhat
- JavaScript
- 삶
- solidity
- blockchain
- 기준
Archives
- Today
- Total
목록Intersection (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