typescript 노트
앵귤러를 하면서 조금씩 정리하려 한다. 타입 에일리어스 1. 타입 에일리어스를 이용한 단일 타입 선언.- 타입 에일리어스를 이용하면 기존 타입에 새로운 이름을 지을 수 있다. 사용 방식 type = 타입; -> type myProfile=string; 2. 타입 에일리어스를 이용한 유니언 타입선언- 타입 에일리어스는 단일 타입보다는 유니언 타입( let c = a | b )이나 리터럴 타입( let c:{ a:string, b:number }[] )과 같은 다소 복잡한 형태의 타입에 적용하면 좋다.type myId=string; type myA=string | undefined; type User={ id:myId; alias?:myA; //? 는 세이프 네이비게이션이라고도 하며 기능은 해당 속성이 불확..
Programming language/javascript
2019. 1. 30. 17:49
250x250
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Aptana
- 자바스크립트
- icon font
- IntrinsicElements
- 리프래시토큰
- Intrinsic
- cordova
- for of 구문
- 태그
- git checkout -b
- 코도바
- 아이콘 폰트 만들기
- interceptors
- git
- Angular
- CSS
- react-router-dom
- react
- 반복문
- svg모션
- vue-router
- svg 폰트
- RefreshToken
- anime.js
- 내장요소
- svg icon font
- React.StrictMode
- JsDoc
- 앵귤러
- Vue3
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함