TS CRUD (1) 썸네일형 리스트형 TS, 기본적인 CRUD TS, 기본적인 CRUD 인터페이스를 이용한 데이터 모델링 📄 src/items/item.interface.ts // BaseItem -> 아이템을 수정, 등록할 때 사용 export interface BaseItem { name: string; price: number; description: string; image: string; } // Item -> 특정한 값을 검색하거나 삭제할때 사용 export interface Item extends BaseItem { id: number; } 📄 src/items/items.interface.ts import { Item } from "./item.interface"; // 아이템들을 합치기 위한 인터페이스 생성 export interface Items .. 이전 1 다음