Basic Structure #27
Annotations
10 errors
Typecheck
Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{ block_name: string | ConcreteComponent<{}, any, any, ComputedOptions, MethodOptions>; }'.
|
Typecheck
Type 'ManyItems<unknown, QueryMany<unknown>>' is not assignable to type '{ data: Redirect[]; }'.
|
Typecheck
Argument of type 'string | number' is not assignable to parameter of type 'string'.
|
Typecheck
This comparison appears to be unintentional because the types '301' and '302' have no overlap.
|
Typecheck
Type 'number' is not assignable to type 'HTTPStatusCode | undefined'.
|
Typecheck
'$directus' is of type 'unknown'.
|
Typecheck
Property 'data' does not exist on type 'object'.
|
Typecheck
'$directus' is of type 'unknown'.
|
Typecheck
'data' is of type 'unknown'.
|
Typecheck
Type 'string' is not assignable to type 'never'.
|