UNPKG

@etsoo/appscript

Version:

Applications shared TypeScript framework

25 lines (24 loc) 457 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseApi = void 0; /** * SmartERP base API */ 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; } } exports.BaseApi = BaseApi;