Skip to content

Udemy/section5/79: interface compile #54

Description

@4BFC

✍Udemy/section5/79: interface compile

해당 issue는 실습을 하지 않고 개념만 작성한 issue 입니다. 진도를 빠르게 넘어가기 위함이니 아래 개념만 익혀두면 설명이 충분합니다. 따라 실습관련 브랜치는 없습니다.

🔥KeyWord

  • interface
  • compile

📝Description

  • interface compile
  • build된 파일 app.js를 살펴보면 interface와 연관된 객체나 코드를 확인할 수 없다. 그 이유는 타입스크립트에서만 제공되는 기능이며 개발과 컴파일에만 사용할수 있기 때문이다. 즉, 컴파일 이후 build된 결과물에서는 확인할 수 없다. 결과적으로 interface는 개발 전용 기능이라는 것을 알 수있다. 따라 런타임(build)과는 전혀 관련이 없다.

📌Summary

  • 컴파일과 런타임에 관해서 깊게 공부할 필요가 있다고 느낀다. 더불어 dependencies와 devDependencies 이 둘의 차이와도 연관지어 볼 수 있을 것 같다.
  • section5-Extra/N #55

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions