diff --git a/.github/ISSUE_TEMPLATE/lecturename-sectionn-n.md b/.github/ISSUE_TEMPLATE/lecturename-sectionn-n.md new file mode 100644 index 0000000..fcde9aa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/lecturename-sectionn-n.md @@ -0,0 +1,23 @@ +--- +name: lectureName/sectionN/N +about: 어떤 학습을 했는지 적어주세요. +title: lectureName/sectionN/N +labels: '' +assignees: 4BFC + +--- + +✍LectureName/sectionN/N + +🔗Reference +- [참고자료](https://# "참고자료") +- 없다면 지워주세요. + +🔥KeyWord +- 강의 핵심 키워드로 소개해주세요. + +📝Description +- 무엇을 배웠는지 알려주세요. + +📌Summary +- 간단하게 무엇을 느꼈고 배웠는지 앞으로의 계획 등을 서술해주세요. diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..61a89ea --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,14 @@ +✍LectureName/sectionN/N + +🔗Reference +- [참고자료](https://# "참고자료") +- 없다면 지워주세요. + +🔥KeyWord +- 강의 핵심 키워드로 소개해주세요. + +📝Description +- 무엇을 배웠는지 알려주세요. + +📌Summary +- 간단하게 무엇을 느꼈고 배웠는지 앞으로의 계획 등을 서술해주세요. diff --git a/README.md b/README.md index 65b95b7..8ea05f4 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,66 @@ ## Rules - main ~과 format~ 은 변경해서는 안된다. - 학습한 코드는 recently로 merge한다. -- 강의 Branch를 생성, 작성하는 방법은 `lectureName/sectionN`와 같이 작성한다. +- 강의 Branch를 생성, 작성하는 방법은 `lectureName/sectionN/N`과 같이 작성한다. (ex.UdemyTs/section2/14) - 학습한 강의 내용 및 정리는 PR에 작성한다. - issue는 학습한 내용에서 발생한 문제점과 부족한 점을 위주로 작성한다. ## Lecture - 👨‍💻[CodingDev](https://youtube.com/playlist?list=PLZKTXPmaJk8KhKQ_BILr1JKCJbR0EGlx0&si=wYBdejCaW81DUMUj "코딩앙마-YouTube") + - run vsc (npm run start) + ``` + //package.json + "start": "ts-node src/index.ts" + ``` - 👨‍💻[UdemyTs](https://www.udemy.com/course/best-typescript-21/?couponCode=SKILLS4SALEA "TypeScript-Udemy") + - run vsc (npm run start) + ``` + ::CMD + tsc app.ts + ``` +
+
+ Lecture List +
+
+ Section2: TypeScript 기본& 기본 타입 +
(14) 숫자 문자열 및 불리언 작업하기: #
+
(15) 타입 할당 및 타입 추론하기: #
+
(16) 객체 형태: #
+
(18) 배열 타입: #
+
(19) 튜플 작업하기: #
+
(20) 열거형으로 작업하기: #
+
(21) Any 타입: #
+
(22) 조합 타입: #
+
(23) 리터럴 타입: #
+
(24) 타입 알리어스 / 사용자 정의 타입: #
+
(25) 타입 알리어스 및 객체 타입: #
+
(26) 함수 반환 타입 및 "무효": #
+
(27) 타입의 기능을 하는 함수: #
+
(28) 함수 타입 및 콜백: #
+
(29) 알 수 없는 타입: #
+
(30) 절대 타입: #
+
+
+
+
+ Section 3 +
-: #
+
+
+
+
+ Section11: TypeScript와 함께 Webpack 사용하기 +
(153) Webpack 설치하기& 중요 종속성: #
+
(154) 입력& 출력 구성 추가하기: #
+
(155) ts-loader 패키지로 TypeScript 지원 추가하기: #
+
(156) 웹팩 구성(Config) 조정하기: #
+
(157) 설정 완료하기& Webpack-dev-server 추가하기: #
+
(158) 생산 워크플로 추가하기: #
+
+
+
+
💻Ts-PlayGround - [Ts-PlayGround](https://www.typescriptlang.org/ko/play/?#code/Q "TypeScript PlayGround") diff --git a/package.json b/package.json index 86385b5..1148aaa 100644 --- a/package.json +++ b/package.json @@ -1,20 +1,20 @@ -{ - "name": "typescript-lecture", - "version": "0.0.0", - "description": "typescript", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1", - "start": "ts-node src/index.ts", - "build": "tsc --build", - "clean": "tsc --build --clean" - }, - "author": "", - "license": "ISC", - "dependencies": { - "typescript": "^5.5.4" - }, - "devDependencies": { - "ts-node": "^10.9.2" - } +{ + "name": "typescript-lecture", + "version": "0.0.0", + "description": "typescript", + "main": "app.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "start": "ts-node src/app.ts", + "build": "tsc --build", + "clean": "tsc --build --clean" + }, + "author": "", + "license": "ISC", + "dependencies": { + "typescript": "^5.5.4" + }, + "devDependencies": { + "ts-node": "^10.9.2" + } } \ No newline at end of file diff --git a/src/app.ts b/src/app.ts new file mode 100644 index 0000000..36f14ed --- /dev/null +++ b/src/app.ts @@ -0,0 +1,14 @@ +function add(n1: number, n2: number, showResult: boolean, phrase: string) { + if (showResult) { + console.log(n1 + n2); + } else { + return n1 + n2; + } +} + +const number1 = 5; +const number2 = 2.8; +const printResult = true; +const resultPhrase = 'Result is: '; + +add(number1, number2, printResult, resultPhrase); \ No newline at end of file diff --git a/src/index.ts b/src/index.ts deleted file mode 100644 index e69de29..0000000