2020-02-13 10:15:12 +01:00

10 lines
198 B
TypeScript

export interface Detailable<T> {
detail(options: Detailable.Options): Promise<{ item?: T }>;
}
export namespace Detailable {
export interface Options {
readonly id: string;
}
}