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
- flex-1
- 스크롤 이벤트
- 셀렉트박스 커스텀
- 앵귤러 애니메이션
- route
- angular animation
- 옵저버블
- prisma
- 호버
- Angular Router
- angular button
- formgroup
- egov spring ajax 사용 예시
- Oracle LISTAGG 사용 예시
- TAILWIND
- ajax 사용 예시
- scroll
- 아이오닉 스크롤 이벤트
- modal
- summary
- 모달
- 앵귤러 모달
- Router
- angular modal
- ApexChart
- angular route
- 검색
- 스크롤 이벤트 감지
- Ionic modal
- mysql if
Archives
- Today
- Total
목록typescript literal type / 리터널 타입 / intersection type / 교차 타입 (1)
깜놀하는 해므찌로
typescript literal type / 리터널 타입 / intersection type / 교차 타입 / |, &
// Literal type const userName1 = "Bob"; // 상수 let userName2: string | number = "jane"; // 변수 userName2 = 3; type Job = "police" | "developer" | "doctor"; // 사용자 정의 타입 interface User{ name : string; job : Job; // Job 타입 } let user:User = { name : "이름", job : "police" } // | : Union type interface Student{ name : string | number; grade : 1 | 2 | 3; // 1,2,3 만 입력 가능 } interface Car{ name : "car"; ..
IT
2023. 5. 22. 12:32