codestates / codestates/Dawn-on-client

2021-05-15_TypeScript Compiling Error

Open
#5 0 comments 0 reactions 0 assignees View on GitHub
Error handling TypeScript
Dominant language
TypeScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

### **어떤 에러인가요?**

- 타입스크립트를 통해 getter setter 메소드 실행시 나타나는 컴파일 에러

### **에러 메시지**

`$ Accessors are only available when targeting ECMAScript 5 and higher.`

### **에러 핸들링 방법**

- 핸들링 방법에 대해서 간단하게 기록해보세요.

` $ tsc --watch --target es5 [오류에 해당하는 파일].ts`

### **에러 핸들링을 위해 참고한 레퍼런스 링크**

[유튜브](https://www.youtube.com/watch?v=sPM94o5_WVU&list=PLJf6aFJoJtbUXW6T4lPUk7C66yEneX7MN&index=10)
[스택오버플로우](https://stackoverflow.com/questions/41010780/accessors-are-only-available-when-targeting-ecmascript-5-and-higher/44285244)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.