UNPKG

pd-api

Version:
14 lines (13 loc) 342 B
import { Observable } from 'rxjs'; import { ApiService } from '../api.service'; export interface Printer { id: number; name: string; isDefault: boolean; } export declare class PrintersService { private api; private requestToApi(method, body?); constructor(api: ApiService); getPrinters(): Observable<Printer[]>; }