feat!: rebuilt project in TS with API validation with Zod #8
Annotations
10 errors
Check types:
src/Zenodo.ts#L35
'depositions' is of type 'unknown'.
|
Check types:
src/Zenodo.ts#L35
Parameter 'deposition' implicitly has an 'any' type.
|
Check types:
src/Zenodo.ts#L45
Argument of type 'unknown' is not assignable to parameter of type 'Deposition'.
|
Check types:
src/Zenodo.ts#L54
'depositions' is of type 'unknown'.
|
Check types:
src/Zenodo.ts#L54
Parameter 'deposition' implicitly has an 'any' type.
|
Check types:
src/__tests__/Zenodo.test.ts#L15
Argument of type '{ host: string; }' is not assignable to parameter of type 'ZenodoOptions'.
|
Check types:
src/__tests__/Zenodo.test.ts#L24
Type 'string | undefined' is not assignable to type 'string'.
|
Check types:
src/depositions/Deposition.ts#L87
Argument of type 'unknown' is not assignable to parameter of type 'Deposition'.
|
Check types:
src/fetchZenodo.ts#L47
Type 'Headers' is not assignable to type 'HeadersInit | undefined'.
|
Check types
Process completed with exit code 2.
|
Loading