Improve rendering of empty topics in the timeline #14859
Annotations
8 errors
Typecheck:
src/Terms.ts#L99
Type 'Terms[]' is not assignable to type '{ policies: Policies; }[]'.
|
Typecheck:
src/utils/IdentityServerUtils.ts#L30
Type 'Terms' is not assignable to type '{ policies?: Policies | undefined; }'.
|
Typecheck:
test/unit-tests/ScalarAuthClient-test.ts#L100
Type 'never[]' is not assignable to type '{ [policyName: string]: Policy; }'.
|
Typecheck:
test/unit-tests/Terms-test.tsx#L45
Argument of type 'null' is not assignable to parameter of type 'Terms'.
|
Typecheck:
test/unit-tests/Terms-test.tsx#L144
Argument of type '(_serviceTypes: SERVICE_TYPES, baseUrl: string) => Promise<{ policies: { policy_the_first: { version: string; en: { name: string; url: string; }; }; policy_the_second?: undefined; }; } | { policies: { ...; }; } | undefined>' is not assignable to parameter of type '(serviceType: SERVICE_TYPES, baseUrl: string) => Promise<Terms>'.
|
Typecheck:
test/unit-tests/components/views/settings/discovery/DiscoverySettings-test.tsx#L55
Type 'string' is not assignable to type 'Policy'.
|
Typecheck:
test/unit-tests/components/views/settings/discovery/DiscoverySettings-test.tsx#L66
Type 'string' is not assignable to type 'Policy'.
|
Typecheck
Process completed with exit code 2.
|
Loading