Error Handling

Private identifiers are only available when targeting ECMAScript 2015 and higher.

KANG_G1 2023. 3. 13. 14:43

class 내부에서 private 함수로 통신 부분 코드 작성을 하던 중 발생한 오류.

 

해결 방법

tsconfig.json에서 es5로 설정이 되어있다면 es6로 수정해준다.