EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
TS fixes
Yurii58a9522f4960
diff --git a/client/src/model.ts b/client/src/model.tsindex 3e2b182380..40dcc55dff 100644--- a/client/src/model.ts+++ b/client/src/model.ts@@ -93,7 +93,7 @@ type User = import('models/user').default;/*** A model.*/-export default class Model<T extends Record<string, unknown> = Record<string, any>> {+export default class Model<T extends Record<string, any> = Record<string, any>> {/*** A root URL. An ID will be appended. Used for syncing with backend.diff --git a/client/src/views/fields/base.ts b/client/src/views/fields/base.tsindex 4c6546cb69..38141e5a07 100644--- a/client/src/views/fields/base.ts+++ b/client/src/views/fields/base.ts@@ -119,7 +119,7 @@ export default class BaseFieldView</*** @param options Options.*/- constructor(options: {[s: string]: unknown} & O & {params: P}) {+ constructor(options: {[s: string]: unknown} & O & {params?: P}) {super(options);this.name = options.name;