본문 바로가기 메뉴 바로가기

Happy things are always here! ꔷ̑◡ꔷ̑

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

Happy things are always here! ꔷ̑◡ꔷ̑

검색하기 폼
  • 전체보기 (58)
    • JavaScript (19)
    • Typescript (1)
    • React (6)
    • php (12)
    • Codeigniter (3)
    • MySQL (1)
    • MongoDB (3)
    • HTML (3)
    • CSS (2)
    • Ajax (3)
    • Jquery (1)
    • Library (3)
    • Github (1)
  • 방명록

typeScript (1)
[typescript] class 에서 Property has no initializer and is not definitely assigned in the constructor 오류 해결 방법

class Employee { fullName: string; age: number; jobTitle: string; details = ():void=>{ console.log(`${this.fullName}의 나이는 ${this.age}이고, 직업은 ${this.jobTitle}입니다. `) } } 이러한 클래스를 생성하면 Property 'fullName' has no initializer and is not definitely assigned in the constructor. Property 'age' has no initializer and is not definitely assigned in the constructor. Property 'jobTitle' has no initializer a..

Typescript 2021. 9. 3. 11:52
이전 1 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • input placeholder
  • react fetch
  • fetch post 데이터 전송
  • curl.cainfo 에러
  • php mongodb
  • curl.cainfo 적용
  • curl.cainfo
  • 자바스크립트 url 파라미터 추출
  • HTML
  • 카톡 링크 공유 썸네일
  • php 게시판
  • JS 시계 기능
  • JS url 파라미터
  • php rand()
  • fetch get post 전송
  • 자바스크립트
  • php composer
  • react restful API
  • curl ssl 인증서 다운로드
  • JS session
  • AJAX
  • JavaScript
  • php mysql 랜덤 숫자
  • 링크 공유 시 썸네일
  • 자바스크립트 세션
  • html input
  • http 접속 시 https 리다이렉션
  • curl ssl 인증서
  • 링크 공유 시 정보 수정
  • php composer 설치
more
«   2025/12   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바