refactor: remove unused code #895
Annotations
10 errors and 6 warnings
Check types:
src/components/metadataFormControls/ModelMultiSelect/BaseModelMultiSelect.tsx#L2
Module '"../../../types/models"' has no exported member 'DisplayableModel'.
|
Check types:
src/components/metadataFormControls/ModelMultiSelect/BaseModelMultiSelect.tsx#L6
Cannot find module '../../SearchableMultiSelect' or its corresponding type declarations.
|
Check types:
src/components/metadataFormControls/ModelMultiSelect/BaseModelMultiSelect.tsx#L70
Type '(TModel | undefined)[]' is not assignable to type 'TModel[]'.
|
Check types:
src/components/metadataFormControls/ModelMultiSelect/ModelMultiSelect.tsx#L7
Module '"../../../types/models"' has no exported member 'DisplayableModel'.
|
Check types:
src/components/metadataFormControls/ModelMultiSelect/ModelMultiSelect.tsx#L16
Property 'filter' is missing in type '{ order: string; fields: string[]; pageSize: number; }' but required in type 'QueryParams'.
|
Check types:
src/components/metadataFormControls/ModelMultiSelect/ModelMultiSelect.tsx#L126
Property 'onChange' is missing in type '{ selected: TModel[]; available: TModel[]; onFilterChange: DebouncedState<({ value }: any) => void>; onRetryClick: <TPageData>(options?: (RefetchOptions & RefetchQueryFilters<...>) | undefined) => Promise<...>; showEndLoader: boolean; onEndReached: (options?: FetchNextPageOptions | undefined) => Promise<...>; loadin...' but required in type 'OwnProps<DisplayableModel>'.
|
Check types:
src/components/metadataFormControls/ModelMultiSelect/ModelMultiSelectField.tsx#L5
Module '"../../../types/models"' has no exported member 'DisplayableModel'.
|
Check types:
src/components/metadataFormControls/ModelMultiSelect/ModelMultiSelectField.tsx#L49
Type 'TModel | undefined' is not assignable to type 'string[] | TModel[]'.
|
Check types:
src/components/metadataFormControls/ModelMultiSelect/ModelMultiSelectField.tsx#L50
Parameter 'selected' implicitly has an 'any' type.
|
Check types
Process completed with exit code 2.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run c-hive/gha-yarn-cache@v1
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run c-hive/gha-yarn-cache@v1
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run c-hive/gha-yarn-cache@v1
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run c-hive/gha-yarn-cache@v1
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading