mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
TS fix
This commit is contained in:
@@ -96,10 +96,7 @@ export default class View<S extends ViewSchema = ViewSchema> extends BullView<S[
|
||||
* @param options Options.
|
||||
*/
|
||||
constructor(
|
||||
options: Record<string, any> & S['options'] & {
|
||||
model?: S['model'],
|
||||
collection?: S['collection'],
|
||||
} = {}
|
||||
options: Record<string, any> & S['options'] = {}
|
||||
) {
|
||||
super(options);
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ export interface BaseOptions {
|
||||
/**
|
||||
* A model.
|
||||
*/
|
||||
model?: import('model').default;
|
||||
model?: Model
|
||||
/**
|
||||
* Disabled inline edit.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user