Skip to content

Commit 9f30744

Browse files
authored
๐Ÿ”€: Udemy/Ts/section2/14 (#18)
* ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: README์„ ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: issue templates ์ƒ์„ฑ Github์—์„œ ์ž‘์„ฑํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: pr-template ์ƒ์„ฑ Github์—์„œ ์ž‘์„ฑํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: pr-template ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐ŸŒฑ: pr-template ์ˆ˜์ • Github์—์„œ ์ˆ˜์ •ํ•œ ์ปค๋ฐ‹์ž…๋‹ˆ๋‹ค. * ๐Ÿšฉ: udemy section2์˜ 14๋ฒˆ ๊ฐ•์˜๋ฅผ ๋“ฃ๊ณ  ์‹ค์Šต์„ ํ–ˆ๋‹ค.
1 parent 9e03228 commit 9f30744

File tree

6 files changed

+124
-20
lines changed

6 files changed

+124
-20
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: lectureName/sectionN/N
3+
about: ์–ด๋–ค ํ•™์Šต์„ ํ–ˆ๋Š”์ง€ ์ ์–ด์ฃผ์„ธ์š”.
4+
title: lectureName/sectionN/N
5+
labels: ''
6+
assignees: 4BFC
7+
8+
---
9+
10+
โœLectureName/sectionN/N
11+
12+
๐Ÿ”—Reference
13+
- [์ฐธ๊ณ ์ž๋ฃŒ](https://# "์ฐธ๊ณ ์ž๋ฃŒ")
14+
- ์—†๋‹ค๋ฉด ์ง€์›Œ์ฃผ์„ธ์š”.
15+
16+
๐Ÿ”ฅKeyWord
17+
- ๊ฐ•์˜ ํ•ต์‹ฌ ํ‚ค์›Œ๋“œ๋กœ ์†Œ๊ฐœํ•ด์ฃผ์„ธ์š”.
18+
19+
๐Ÿ“Description
20+
- ๋ฌด์—‡์„ ๋ฐฐ์› ๋Š”์ง€ ์•Œ๋ ค์ฃผ์„ธ์š”.
21+
22+
๐Ÿ“ŒSummary
23+
- ๊ฐ„๋‹จํ•˜๊ฒŒ ๋ฌด์—‡์„ ๋А๊ผˆ๊ณ  ๋ฐฐ์› ๋Š”์ง€ ์•ž์œผ๋กœ์˜ ๊ณ„ํš ๋“ฑ์„ ์„œ์ˆ ํ•ด์ฃผ์„ธ์š”.

โ€Ž.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
โœLectureName/sectionN/N
2+
3+
๐Ÿ”—Reference
4+
- [์ฐธ๊ณ ์ž๋ฃŒ](https://# "์ฐธ๊ณ ์ž๋ฃŒ")
5+
- ์—†๋‹ค๋ฉด ์ง€์›Œ์ฃผ์„ธ์š”.
6+
7+
๐Ÿ”ฅKeyWord
8+
- ๊ฐ•์˜ ํ•ต์‹ฌ ํ‚ค์›Œ๋“œ๋กœ ์†Œ๊ฐœํ•ด์ฃผ์„ธ์š”.
9+
10+
๐Ÿ“Description
11+
- ๋ฌด์—‡์„ ๋ฐฐ์› ๋Š”์ง€ ์•Œ๋ ค์ฃผ์„ธ์š”.
12+
13+
๐Ÿ“ŒSummary
14+
- ๊ฐ„๋‹จํ•˜๊ฒŒ ๋ฌด์—‡์„ ๋А๊ผˆ๊ณ  ๋ฐฐ์› ๋Š”์ง€ ์•ž์œผ๋กœ์˜ ๊ณ„ํš ๋“ฑ์„ ์„œ์ˆ ํ•ด์ฃผ์„ธ์š”.

โ€ŽREADME.md

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,66 @@
99
## Rules
1010
- main ~๊ณผ format~ ์€ ๋ณ€๊ฒฝํ•ด์„œ๋Š” ์•ˆ๋œ๋‹ค.
1111
- ํ•™์Šตํ•œ ์ฝ”๋“œ๋Š” recently๋กœ mergeํ•œ๋‹ค.
12-
- ๊ฐ•์˜ Branch๋ฅผ ์ƒ์„ฑ, ์ž‘์„ฑํ•˜๋Š” ๋ฐฉ๋ฒ•์€ `lectureName/sectionN`์™€ ๊ฐ™์ด ์ž‘์„ฑํ•œ๋‹ค.
12+
- ๊ฐ•์˜ Branch๋ฅผ ์ƒ์„ฑ, ์ž‘์„ฑํ•˜๋Š” ๋ฐฉ๋ฒ•์€ `lectureName/sectionN/N`๊ณผ ๊ฐ™์ด ์ž‘์„ฑํ•œ๋‹ค. (ex.UdemyTs/section2/14)
1313
- ํ•™์Šตํ•œ ๊ฐ•์˜ ๋‚ด์šฉ ๋ฐ ์ •๋ฆฌ๋Š” PR์— ์ž‘์„ฑํ•œ๋‹ค.
1414
- issue๋Š” ํ•™์Šตํ•œ ๋‚ด์šฉ์—์„œ ๋ฐœ์ƒํ•œ ๋ฌธ์ œ์ ๊ณผ ๋ถ€์กฑํ•œ ์ ์„ ์œ„์ฃผ๋กœ ์ž‘์„ฑํ•œ๋‹ค.
1515

1616
## Lecture
1717
- ๐Ÿ‘จโ€๐Ÿ’ป[CodingDev](https://youtube.com/playlist?list=PLZKTXPmaJk8KhKQ_BILr1JKCJbR0EGlx0&si=wYBdejCaW81DUMUj "์ฝ”๋”ฉ์•™๋งˆ-YouTube")
18+
- run vsc (npm run start)
19+
```
20+
//package.json
21+
"start": "ts-node src/index.ts"
22+
```
1823
- ๐Ÿ‘จโ€๐Ÿ’ป[UdemyTs](https://www.udemy.com/course/best-typescript-21/?couponCode=SKILLS4SALEA "TypeScript-Udemy")
24+
- run vsc (npm run start)
25+
```
26+
::CMD
27+
tsc app.ts
28+
```
29+
<dl>
30+
<details>
31+
<summary>Lecture List</summary>
32+
<dd>
33+
<details>
34+
<summary>Section2: TypeScript ๊ธฐ๋ณธ& ๊ธฐ๋ณธ ํƒ€์ž…</summary>
35+
<dd>(14) ์ˆซ์ž ๋ฌธ์ž์—ด ๋ฐ ๋ถˆ๋ฆฌ์–ธ ์ž‘์—…ํ•˜๊ธฐ: #</dd>
36+
<dd>(15) ํƒ€์ž… ํ• ๋‹น ๋ฐ ํƒ€์ž… ์ถ”๋ก ํ•˜๊ธฐ: #</dd>
37+
<dd>(16) ๊ฐ์ฒด ํ˜•ํƒœ: #</dd>
38+
<dd>(18) ๋ฐฐ์—ด ํƒ€์ž…: #</dd>
39+
<dd>(19) ํŠœํ”Œ ์ž‘์—…ํ•˜๊ธฐ: #</dd>
40+
<dd>(20) ์—ด๊ฑฐํ˜•์œผ๋กœ ์ž‘์—…ํ•˜๊ธฐ: #</dd>
41+
<dd>(21) Any ํƒ€์ž…: #</dd>
42+
<dd>(22) ์กฐํ•ฉ ํƒ€์ž…: #</dd>
43+
<dd>(23) ๋ฆฌํ„ฐ๋Ÿด ํƒ€์ž…: #</dd>
44+
<dd>(24) ํƒ€์ž… ์•Œ๋ฆฌ์–ด์Šค / ์‚ฌ์šฉ์ž ์ •์˜ ํƒ€์ž…: #</dd>
45+
<dd>(25) ํƒ€์ž… ์•Œ๋ฆฌ์–ด์Šค ๋ฐ ๊ฐ์ฒด ํƒ€์ž…: #</dd>
46+
<dd>(26) ํ•จ์ˆ˜ ๋ฐ˜ํ™˜ ํƒ€์ž… ๋ฐ "๋ฌดํšจ": #</dd>
47+
<dd>(27) ํƒ€์ž…์˜ ๊ธฐ๋Šฅ์„ ํ•˜๋Š” ํ•จ์ˆ˜: #</dd>
48+
<dd>(28) ํ•จ์ˆ˜ ํƒ€์ž… ๋ฐ ์ฝœ๋ฐฑ: #</dd>
49+
<dd>(29) ์•Œ ์ˆ˜ ์—†๋Š” ํƒ€์ž…: #</dd>
50+
<dd>(30) ์ ˆ๋Œ€ ํƒ€์ž…: #</dd>
51+
</details>
52+
</dd>
53+
<dd>
54+
<details>
55+
<summary>Section 3</summary>
56+
<dd>-: #</dd>
57+
</details>
58+
</dd>
59+
<dd>
60+
<details>
61+
<summary>Section11: TypeScript์™€ ํ•จ๊ป˜ Webpack ์‚ฌ์šฉํ•˜๊ธฐ</summary>
62+
<dd>(153) Webpack ์„ค์น˜ํ•˜๊ธฐ& ์ค‘์š” ์ข…์†์„ฑ: #</dd>
63+
<dd>(154) ์ž…๋ ฅ& ์ถœ๋ ฅ ๊ตฌ์„ฑ ์ถ”๊ฐ€ํ•˜๊ธฐ: #</dd>
64+
<dd>(155) ts-loader ํŒจํ‚ค์ง€๋กœ TypeScript ์ง€์› ์ถ”๊ฐ€ํ•˜๊ธฐ: #</dd>
65+
<dd>(156) ์›นํŒฉ ๊ตฌ์„ฑ(Config) ์กฐ์ •ํ•˜๊ธฐ: #</dd>
66+
<dd>(157) ์„ค์ • ์™„๋ฃŒํ•˜๊ธฐ& Webpack-dev-server ์ถ”๊ฐ€ํ•˜๊ธฐ: #</dd>
67+
<dd>(158) ์ƒ์‚ฐ ์›Œํฌํ”Œ๋กœ ์ถ”๊ฐ€ํ•˜๊ธฐ: #</dd>
68+
</details>
69+
</dd>
70+
</details>
71+
</dl>
1972
2073
๐Ÿ’ปTs-PlayGround
2174
- [Ts-PlayGround](https://www.typescriptlang.org/ko/play/?#code/Q "TypeScript PlayGround")

โ€Žpackage.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
{
2-
"name": "typescript-lecture",
3-
"version": "0.0.0",
4-
"description": "typescript",
5-
"main": "index.js",
6-
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1",
8-
"start": "ts-node src/index.ts",
9-
"build": "tsc --build",
10-
"clean": "tsc --build --clean"
11-
},
12-
"author": "",
13-
"license": "ISC",
14-
"dependencies": {
15-
"typescript": "^5.5.4"
16-
},
17-
"devDependencies": {
18-
"ts-node": "^10.9.2"
19-
}
1+
{
2+
"name": "typescript-lecture",
3+
"version": "0.0.0",
4+
"description": "typescript",
5+
"main": "app.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"start": "ts-node src/app.ts",
9+
"build": "tsc --build",
10+
"clean": "tsc --build --clean"
11+
},
12+
"author": "",
13+
"license": "ISC",
14+
"dependencies": {
15+
"typescript": "^5.5.4"
16+
},
17+
"devDependencies": {
18+
"ts-node": "^10.9.2"
19+
}
2020
}

โ€Žsrc/app.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
function add(n1: number, n2: number, showResult: boolean, phrase: string) {
2+
if (showResult) {
3+
console.log(n1 + n2);
4+
} else {
5+
return n1 + n2;
6+
}
7+
}
8+
9+
const number1 = 5;
10+
const number2 = 2.8;
11+
const printResult = true;
12+
const resultPhrase = 'Result is: ';
13+
14+
add(number1, number2, printResult, resultPhrase);

โ€Žsrc/index.ts

Whitespace-only changes.

0 commit comments

Comments
ย (0)