반응형
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
- React #effect hook #useEffect
- 코드스테이츠 #알고리즘 #그리디
- 이친수
- 플로이드 #c++
- React #리액트 이벤트 주기 #리액트 이벤트
- React #Hook rules #Hook 규칙
- axios
- React #controlled component #비제어 컴포넌트 #제어 컴포넌트
- 노마드 코더 #타입스크립트 #typescript #class
- 다익스트라 #파티 #백준
- react fragment
- interceptors
- html entities
- RateLimit
- Next.js
- rate limit
- JWT #토큰 #refreshToken #accessToken #Token #token #localStorage #sessionStorage
- #useRef #언제 쓰는데?
- 얕은 복사 #깊은 복사 #shallow copy #deep copy
- npm #not being able to find a file #npm install Error
- 빡킹독
- useState #Hooks
- DP #c++
- React-Query
- raect typescript #react #typescript #styled-component
- 버블링 #갭쳐링 #이벤트 #JS
- 백준 #적록색약
- donwstream #upstream #origin
- react #useCallback #react Hook
- 백준 #직각삼각형
Archives
- Today
- Total
목록2023/03/10 (1)
꿈꾸는 개발자
8.1 클래스 메서드 매개변수 기본 타입: any 독립 함수와 동일한 방식으로 이해 클래스 생성자(constructor) 또한 동일한 취급 //메서드 class Greeter{ greet(name:string){ console.log(`${name}`); } } new Greeter().greet('haha'); //ok new Greeter().greet(); //Error: 인수 필요! ================================================= //생성자 class Greeter{ constructor(mess:string){ console.log(`${mess}`); } } new Greeter("haha"); new Greeter() //Error 매개변수 제공 안 ..
Learning Typescript
2023. 3. 10. 16:17