UNPKG

@etsoo/appscript

Version:

Applications shared TypeScript framework

21 lines (20 loc) 334 B
/** * SmartERP base API */ export class BaseApi { /** * API Last error */ get lastError() { return this.api.lastError; } /** * Constructor * @param app Application * @param api API */ constructor(app, api = app.api) { this.app = app; this.api = api; } }