Skip to content

ci: add TypeScript type check #4

ci: add TypeScript type check

ci: add TypeScript type check #4

Triggered via pull request November 15, 2024 16:29
Status Failure
Total duration 1m 22s
Artifacts

typescript-check.yml

on: pull_request
typescript-check
1m 11s
typescript-check
Fit to window
Zoom out
Zoom in

Annotations

10 errors
typescript-check: plugins/ui/src/js/src/elements/UITable/UITableModel.test.ts#L30
error TS2345: Argument of type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' is not assignable to parameter of type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'. Property 'displayNameMap' is missing in type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' but required in type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'.
typescript-check: plugins/ui/src/js/src/elements/UITable/UITableModel.test.ts#L42
error TS2345: Argument of type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' is not assignable to parameter of type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'. Property 'displayNameMap' is missing in type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' but required in type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'.
typescript-check: plugins/ui/src/js/src/elements/UITable/UITableModel.test.ts#L65
error TS2345: Argument of type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: ({ ...; } | { ...; })[]; }' is not assignable to parameter of type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'. Property 'displayNameMap' is missing in type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: ({ ...; } | { ...; })[]; }' but required in type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'.
typescript-check: plugins/ui/src/js/src/elements/UITable/UITableModel.test.ts#L83
error TS2345: Argument of type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' is not assignable to parameter of type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'. Property 'displayNameMap' is missing in type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' but required in type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'.
typescript-check: plugins/ui/src/js/src/elements/UITable/UITableModel.test.ts#L101
error TS2345: Argument of type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' is not assignable to parameter of type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'. Property 'displayNameMap' is missing in type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' but required in type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'.
typescript-check: plugins/ui/src/js/src/elements/UITable/UITableModel.test.ts#L116
error TS2345: Argument of type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' is not assignable to parameter of type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'. Property 'displayNameMap' is missing in type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' but required in type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'.
typescript-check: plugins/ui/src/js/src/elements/UITable/UITableModel.test.ts#L127
error TS2345: Argument of type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: never[]; }' is not assignable to parameter of type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'. Property 'displayNameMap' is missing in type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: never[]; }' but required in type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'.
typescript-check: plugins/ui/src/js/src/elements/UITable/UITableModel.test.ts#L142
error TS2345: Argument of type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' is not assignable to parameter of type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'. Property 'displayNameMap' is missing in type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' but required in type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'.
typescript-check: plugins/ui/src/js/src/elements/UITable/UITableModel.test.ts#L159
error TS2345: Argument of type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' is not assignable to parameter of type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'. Property 'displayNameMap' is missing in type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' but required in type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'.
typescript-check: plugins/ui/src/js/src/elements/UITable/UITableModel.test.ts#L173
error TS2345: Argument of type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' is not assignable to parameter of type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'. Property 'displayNameMap' is missing in type '{ dh: typeof dh & MockProxyTarget<typeof dh>; model: IrisGridTableModel & MockProxyTarget<IrisGridTableModel>; table: dh.Table & MockProxyTarget<...>; databars: never[]; format: { ...; }[]; }' but required in type '{ dh: typeof dh; model: IrisGridModel<Record<string, Event<string>>, "standard">; table: Table; databars: DatabarConfig[]; format: FormattingRule[]; displayNameMap: Record<...>; }'.