Skip to content

Migrate to typescript #2

Migrate to typescript

Migrate to typescript #2

Re-run triggered March 12, 2024 21:19
Status Failure
Total duration 22s
Artifacts

tests.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

32 errors
Use Node.js 18: lib/import.ts#L369
Property 'primary' does not exist on type '{ name: string; type: string; required: boolean; primary: boolean; prefix: boolean; min?: undefined; max?: undefined; } | { name: string; type: string; required: boolean; primary?: undefined; prefix?: undefined; min?: undefined; max?: undefined; } | ... 107 more ... | { ...; }'.
Use Node.js 18: lib/import.ts#L385
Property 'index' does not exist on type '{ name: string; type: string; required: boolean; primary: boolean; prefix: boolean; min?: undefined; max?: undefined; } | { name: string; type: string; required: boolean; primary?: undefined; prefix?: undefined; min?: undefined; max?: undefined; } | ... 107 more ... | { ...; }'.
Use Node.js 18: lib/import.ts#L386
Property 'index' does not exist on type '{ name: string; type: string; required: boolean; primary: boolean; prefix: boolean; min?: undefined; max?: undefined; } | { name: string; type: string; required: boolean; primary?: undefined; prefix?: undefined; min?: undefined; max?: undefined; } | ... 107 more ... | { ...; }'.
Use Node.js 18: lib/import.ts#L666
Property 'code' does not exist on type 'Error'.
Use Node.js 18: lib/import.ts#L725
Property 'code' does not exist on type 'Error'.
Use Node.js 18: lib/gtfs/agencies.ts#L21
Property 'db' does not exist on type '{}'.
Use Node.js 18: lib/gtfs/agencies.ts#L21
Expected 1 arguments, but got 0.
Use Node.js 18: lib/gtfs/areas.ts#L16
Property 'db' does not exist on type '{}'.
Use Node.js 18: lib/gtfs/areas.ts#L16
Expected 1 arguments, but got 0.
Use Node.js 18: lib/gtfs/attributions.ts#L21
Property 'db' does not exist on type '{}'.
Use Node.js 20
The job was canceled because "_18" failed.
Use Node.js 20: lib/import.ts#L369
Property 'primary' does not exist on type '{ name: string; type: string; required: boolean; primary: boolean; prefix: boolean; min?: undefined; max?: undefined; } | { name: string; type: string; required: boolean; primary?: undefined; prefix?: undefined; min?: undefined; max?: undefined; } | ... 107 more ... | { ...; }'.
Use Node.js 20: lib/import.ts#L385
Property 'index' does not exist on type '{ name: string; type: string; required: boolean; primary: boolean; prefix: boolean; min?: undefined; max?: undefined; } | { name: string; type: string; required: boolean; primary?: undefined; prefix?: undefined; min?: undefined; max?: undefined; } | ... 107 more ... | { ...; }'.
Use Node.js 20: lib/import.ts#L386
Property 'index' does not exist on type '{ name: string; type: string; required: boolean; primary: boolean; prefix: boolean; min?: undefined; max?: undefined; } | { name: string; type: string; required: boolean; primary?: undefined; prefix?: undefined; min?: undefined; max?: undefined; } | ... 107 more ... | { ...; }'.
Use Node.js 20: lib/import.ts#L666
Property 'code' does not exist on type 'Error'.
Use Node.js 20: lib/import.ts#L725
Property 'code' does not exist on type 'Error'.
Use Node.js 20: lib/gtfs/agencies.ts#L21
Property 'db' does not exist on type '{}'.
Use Node.js 20: lib/gtfs/agencies.ts#L21
Expected 1 arguments, but got 0.
Use Node.js 20: lib/gtfs/attributions.ts#L21
Property 'db' does not exist on type '{}'.
Use Node.js 20: lib/gtfs/attributions.ts#L21
Expected 1 arguments, but got 0.
Use Node.js 20: lib/gtfs/areas.ts#L16
Property 'db' does not exist on type '{}'.
prettier
Process completed with exit code 1.
typecheck: lib/import.ts#L369
Property 'primary' does not exist on type '{ name: string; type: string; required: boolean; primary: boolean; prefix: boolean; min?: undefined; max?: undefined; } | { name: string; type: string; required: boolean; primary?: undefined; prefix?: undefined; min?: undefined; max?: undefined; } | ... 107 more ... | { ...; }'.
typecheck: lib/import.ts#L385
Property 'index' does not exist on type '{ name: string; type: string; required: boolean; primary: boolean; prefix: boolean; min?: undefined; max?: undefined; } | { name: string; type: string; required: boolean; primary?: undefined; prefix?: undefined; min?: undefined; max?: undefined; } | ... 107 more ... | { ...; }'.
typecheck: lib/import.ts#L386
Property 'index' does not exist on type '{ name: string; type: string; required: boolean; primary: boolean; prefix: boolean; min?: undefined; max?: undefined; } | { name: string; type: string; required: boolean; primary?: undefined; prefix?: undefined; min?: undefined; max?: undefined; } | ... 107 more ... | { ...; }'.
typecheck: lib/import.ts#L666
Property 'code' does not exist on type 'Error'.
typecheck: lib/import.ts#L725
Property 'code' does not exist on type 'Error'.
typecheck: lib/gtfs/agencies.ts#L21
Property 'db' does not exist on type '{}'.
typecheck: lib/gtfs/agencies.ts#L21
Expected 1 arguments, but got 0.
typecheck: lib/gtfs/areas.ts#L16
Property 'db' does not exist on type '{}'.
typecheck: lib/gtfs/areas.ts#L16
Expected 1 arguments, but got 0.
typecheck: lib/gtfs/attributions.ts#L21
Property 'db' does not exist on type '{}'.