---
title: "Discussion on \"Effective Typescript#7 코드를 작성하고 실행하기\" | Hashnode"
description: "Discussion on \"Effective Typescript#7 코드를 작성하고 실행하기\". 아이템53. 타입스크립트 기능보다는 ECMAScript 기능을 사용하기\nenum 사용을 최소화 하기\n\n문자열 enum과 숫자형 enum이 다르게 동작합니다. \n접근 방식의 차이, JS로 변환되었을 때의 차이가 있습니다.\n\n// .ts\nenum Flavor {\n  VANILLA = \"vanilla\",\n  CHOCOLATE = \"chocolate\",\n  STRAWBERRY = \"strawberry\",\n}\nFlavor.VANILLA; // 접근 가능..."
url: "https://hashnode.com/posts/effective-typescript7/633050b1a50ebf1cd1491327"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Effective Typescript#7 코드를 작성하고 실행하기](https://blog.lyunho.kim/effective-typescript7?utm_source=hashnode&utm_medium=feed)

아이템53. 타입스크립트 기능보다는 ECMAScript 기능을 사용하기 enum 사용을 최소화 하기 문자열 enum과 숫자형 enum이 다르게 동작합니다. 접근 방식의 차이, JS로 변환되었을 때의 차이가 있습니다. // .ts enum Flavor { VANILLA = "vanilla", CHOCOLATE = "chocolate", STRAWBERRY = "strawberry", } Flavor.VANILLA; // 접근 가능...

Sep 25, 2022 · 4 min read · blog.lyunho.kim  
Read the article

-   [#nestjs](https://hashnode.com/tag/nestjs)

## Written by

[Lyunho Kim](https://hashnode.com/@lyunhokim)

@lyunhokim · South Korea

  
[View profile](https://hashnode.com/@lyunhokim)

backend developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
