codestates / codestates/Dawn-on-server
[Error] 2021-05-15 TypeScript Compiling Error
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- 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
Research direction
Start with the issue's TypeScript getter/setter error and review the linked YouTube and Stack Overflow references. Document the ECMAScript target requirement and the shown `tsc --watch --target es5 [오류에 해당하는 파일].ts` handling command; the documentation is done when the error and remedy are recorded clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100