본문 바로가기

rhanziy

검색하기
rhanziy
프로필사진 rhanziy

  • 분류 전체보기 (170)
    • git (3)
    • Html_css_js (55)
    • React (25)
    • React Native (20)
    • Next.js (13)
    • Node.js (12)
    • Java (22)
    • Development setting (7)
    • study (9)
    • doodle (4)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/05   »
일 월 화 수 목 금 토
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
Tags
  • codepush
  • array
  • supabase 페이지네이션
  • app.post
  • meatadata
  • Filter
  • map
  • xlsx-js-style
  • set
  • Spring
  • 페이지네이션
  • 타입스크립트
  • 글또10기x코드트리
  • supabase authentication
  • Next.js
  • generic
  • reactnative
  • react
  • TS
  • 슬라이딩윈도우
  • async
  • interface
  • code-push-standalone
  • 상속
  • supabase auth
  • 스크롤이벤트
  • 이진탐색
  • extends
  • javascript
  • 코드푸시
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록인터페이스 (1)

rhanziy

TS - 추상클래스 및 인터페이스

abstract class User { constructor( protected firstName: string, protected lastName:string ){} abstract sayHi(name:string):string abstract fullName():string } class Player2 extends User { sayHi(name:string){ return `Hello ${name}. My name is ${this.fullName()}` } fullName(){ return `#{this.firstName} ${this.lastName}` } } 타입스크립트에서 추상클래스를 구현하면 자바스크립트에서 컴파일했을 때 일반적인 클래스로 바뀌어버림. class User { constru..

Html_css_js 2022. 10. 29. 17:56
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바