import { Doc } from "./Doc"; export interface DetailService { get(id: number): Promise; set(id: number, doc: T): Promise; del(id: number): Promise; }