Skip to content

22.08.27

HyojinKim edited this page Aug 27, 2022 · 6 revisions

μΌμ‹œ : 22.08.27 13:00~

μž₯μ†Œ : ν† μ¦ˆ κ°•λ‚¨ν† μ¦ˆνƒ€μ›Œμ  (μ˜€ν”„λΌμΈ)

μ°Έμ„μž : μ˜νƒλ‹˜, λ¬ΈκΈ°λ‹˜, λ°”μšΈλ‹˜, νš¨μ§„λ‹˜, μ±„μ •λ‹˜, λ―Όμ •λ‹˜, μ˜ˆμ§„λ‹˜, ν•œμŠ¬λ‹˜


author vs authors

author 둜 κ°€μž!

CommitList vs Commits

s

  • rest apiμ—μ„œ contents이닀! sλ₯Ό λΆ™μ΄μž.
  • μ§§μ•„μ„œ μ’‹μŒ.
  • listλŠ” list μžλ£Œν˜•μ—λ§Œ μ“Έ 수 μžˆμ„κ²ƒ κ°™μŒ

list

  • 그럼 information은?
  • sλŠ” μ•ˆλ³΄μ΄κΈ°λ„ 함. μ‹€μˆ˜ν•  μ—¬μ§€κ°€ 있음

s둜 κ°‘μ‹œλ‹€!

λΆˆκ°€μ‚°λͺ…사도 sλ₯Ό 뢙이기.

μ•½μ–΄λŠ” μ΅œλŒ€ν•œ μ§€μ–‘. ν’€λ„€μž„μœΌλ‘œ 적기

type vs interface

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둜 κ²°μ •!

enum은 μ΅œλŒ€ν•œ μ§€μ–‘

https://engineering.linecorp.com/ko/blog/typescript-enum-tree-shaking

git log interface 파일 이름?

ν˜„μž¬λŠ” parseInterface

commitRaw.type.ts

src

  types

    commitRaw.ts

autor은 1λͺ…λ§Œ κ³ λ €ν•˜μž!

MVPμ—μ„œλŠ” 1λͺ…λ§Œβ€¦.

co author은 일단 κ³ λ €ν•˜μ§€ 말자

githruλ₯Ό μ‚¬μš©ν•˜λŠ” μ‚¬λžŒ μž…μž₯μ—μ„œ git commit 의 μ‹œκ°μ  데이터 흐름에 더 관심이 μžˆμ„ 것 κ°™κ³  co author λ³„λ‘œ λΆ„λ¦¬ν•΄μ„œ λ³΄λŠ” 것은 λ‹ˆμ¦ˆκ°€ λ§Žμ§€ μ•Šμ„ 것이라고 μƒκ°ν•œλ‹€.

Basic/Root/Merge type

λŠ” κ΅¬λΆ„ν•˜μ§€ 말자.

files β†’ fileDictionary

ν•„λ“œλͺ… λ³€κ²½ ν•„μš”ν•˜λ©΄ λ…Όμ˜μ£Όμ„Έμš”

Clone this wiki locally