-
Notifications
You must be signed in to change notification settings - Fork 82
22.08.27
์ผ์ : 22.08.27
์ฅ์ : ํ ์ฆ ๊ฐ๋จํ ์ฆํ์์ (์คํ๋ผ์ธ)
์ฐธ์์ : ์ํ๋, ๋ฌธ๊ธฐ๋, ๋ฐ์ธ๋, ํจ์ง๋, ์ฑ์ ๋, ๋ฏผ์ ๋, ์์ง๋, ํ์ฌ๋
author ๋ก ๊ฐ์!
s
- rest api์์ contents์ด๋ค! s๋ฅผ ๋ถ์ด์.
- ์งง์์ ์ข์.
- list๋ list ์๋ฃํ์๋ง ์ธ ์ ์์๊ฒ ๊ฐ์
list
- ๊ทธ๋ผ information์?
- s๋ ์๋ณด์ด๊ธฐ๋ ํจ. ์ค์ํ ์ฌ์ง๊ฐ ์์
s๋ก ๊ฐ์๋ค!
๋ถ๊ฐ์ฐ๋ช ์ฌ๋ s๋ฅผ ๋ถ์ด๊ธฐ.
์ฝ์ด๋ ์ต๋ํ ์ง์. ํ๋ค์์ผ๋ก ์ ๊ธฐ
type, interface ๋๋ค Pick ์ฌ์ฉ ๊ฐ๋ฅ
type vs interface ๋น๊ต ์ฐธ๊ณ ์๋ฃ ๊ณต์ ๋๋ฆฝ๋๋ค~!
[https://velog.io/@jeong3320/typescripttype๊ณผ-interface์-์ฐจ์ด์์ฑ์ค](https://velog.io/@jeong3320/typescripttype%EA%B3%BC-interface%EC%9D%98-%EC%B0%A8%EC%9D%B4%EC%9E%91%EC%84%B1%EC%A4%91)
https://velog.io/@youngjewoo/TypeScript-type-vs-interface
https://bny9164.tistory.com/48
๋ฉ๋ชจ
-
๊ณต์ ๊ฐ์ด๋๋ฌธ์์์ inferface ๋ฅผ ์ฐ์ ํ๊ณ , ํน๋ณํ ๋ฌธ์ ๊ฐ ์์๋๋ง type ์ ์ฌ์ฉํ๋๋ก ๊ถ์ฅ
-
interface ๋ ๊ฐ์ฒดํํ์ ํ์ ์ ์๋ง ๊ฐ๋ฅ
- ๋จ์ผํ์ , ํํํ์ , computed value ๋ฑ ์ฌ์ฉ ๋ถ๊ฐ
- ์ ์ธ๋ณํฉ ์ฌ์ฉ ๊ฐ๋ฅ
-
interface ๊ฐ ์ปดํ์ผ ์ฑ๋ฅ์์ ๋ ์ ๋ฆฌํจ
-
interface ํฉ์ฑ์ ์บ์ ์ ์ฉ๋์ง๋ง, type ํฉ์ฑ์ ๋ชจ๋ type๊ตฌ์ฑ์์๋ฅผ ์ํํ๋ฉด์ ์ฒดํฌํจ (์ฑ๋ฅ์ ํ)
interface๋ก ๊ฒฐ์ !
https://engineering.linecorp.com/ko/blog/typescript-enum-tree-shaking
ํ์ฌ๋ parseInterface
commitRaw.type.ts
src
types
commitRaw.ts
MVP์์๋ 1๋ช ๋งโฆ.
co author์ ์ผ๋จ ๊ณ ๋ คํ์ง ๋ง์
githru๋ฅผ ์ฌ์ฉํ๋ ์ฌ๋ ์ ์ฅ์์ git commit ์ ์๊ฐ์ ๋ฐ์ดํฐ ํ๋ฆ์ ๋ ๊ด์ฌ์ด ์์ ๊ฒ ๊ฐ๊ณ co author ๋ณ๋ก ๋ถ๋ฆฌํด์ ๋ณด๋ ๊ฒ์ ๋์ฆ๊ฐ ๋ง์ง ์์ ๊ฒ์ด๋ผ๊ณ ์๊ฐํ๋ค.
๋ ๊ตฌ๋ถํ์ง ๋ง์.
ํ๋๋ช ๋ณ๊ฒฝ ํ์ํ๋ฉด ๋ ผ์์ฃผ์ธ์
- [view] color code ํต์ผ ๊ด๋ จ ๋ ผ์
- [view] vscode ํ ๋ง ์ปฌ๋ฌ ๊ฐ์ ธ์ค๊ธฐ ๋ฐ git lens ๋ถ์ ๋ด์ฉ ๊ณต์
- [engine] Stem ์์ฑ ๋ก์ง ๋์ ์์
- [engine] PARSER ๋ก์ง
- [engine] CSM ๊ฐ์ ๋ฐ ๊ตฌํ
- VSCode์์ View Node Type ์ฌ์ฉ ๊ด๋ จ ์ด์
- [engine, view, vscode] Test Case ์์ฑ ๊ฐ์ด๋ ๋ฌธ์