Migrate to typescript #2
Annotations
10 errors
Run npm run build:
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 ... | { ...; }'.
|
Run npm run build:
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 ... | { ...; }'.
|
Run npm run build:
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 ... | { ...; }'.
|
Run npm run build:
lib/import.ts#L666
Property 'code' does not exist on type 'Error'.
|
Run npm run build:
lib/import.ts#L725
Property 'code' does not exist on type 'Error'.
|
Run npm run build:
lib/gtfs/agencies.ts#L21
Property 'db' does not exist on type '{}'.
|
Run npm run build:
lib/gtfs/agencies.ts#L21
Expected 1 arguments, but got 0.
|
Run npm run build:
lib/gtfs/areas.ts#L16
Property 'db' does not exist on type '{}'.
|
Run npm run build:
lib/gtfs/areas.ts#L16
Expected 1 arguments, but got 0.
|
Run npm run build:
lib/gtfs/attributions.ts#L21
Property 'db' does not exist on type '{}'.
|
Loading