mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 01:54:15 +00:00
lint/src/util: fix TS2314
Fix error in lint: > lint/src/util/structure.ts:16:20 - error TS2314: Generic type 'RuleMetaData<MessageIds, Options>' requires 2 type argument(s). > > 16 export type Meta = RuleMetaData<string>;
This commit is contained in:
@@ -13,7 +13,7 @@ import {
|
|||||||
} from '@typescript-eslint/utils/ts-eslint';
|
} from '@typescript-eslint/utils/ts-eslint';
|
||||||
import { EnumType } from 'typescript';
|
import { EnumType } from 'typescript';
|
||||||
|
|
||||||
export type Meta = RuleMetaData<string>;
|
export type Meta = RuleMetaData<string, unknown[]>;
|
||||||
export type Valid = ValidTestCase<unknown[]>;
|
export type Valid = ValidTestCase<unknown[]>;
|
||||||
export type Invalid = InvalidTestCase<string, unknown[]>;
|
export type Invalid = InvalidTestCase<string, unknown[]>;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user