feat: create address input #583
Annotations
8 errors
Compile:
src/form/v2/birth/forms/child.ts#L238
Type '"LOCATION"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "SELECT" | "CHECKBOX" | "FILE" | "COUNTRY"'.
|
Compile:
src/form/v2/birth/forms/child.ts#L246
Type '{ type: "HEALTH_FACILITY"; }' is not assignable to type '{ value: string; label: { id: string; description: string; defaultMessage: string; }; }[]'.
|
Compile:
src/form/v2/person/address.ts#L171
Type '"LOCATION"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "SELECT" | "CHECKBOX" | "FILE" | "COUNTRY"'.
|
Compile:
src/form/v2/person/address.ts#L179
Type '{ type: "ADMIN_STRUCTURE"; }' is not assignable to type '{ value: string; label: { id: string; description: string; defaultMessage: string; }; }[]'.
|
Compile:
src/form/v2/person/address.ts#L184
Type '"LOCATION"' is not assignable to type '"TEXT" | "DATE" | "PARAGRAPH" | "RADIO_GROUP" | "BULLET_LIST" | "SELECT" | "CHECKBOX" | "FILE" | "COUNTRY"'.
|
Compile:
src/form/v2/person/address.ts#L192
Type '{ partOf: { $data: string; }; type: "ADMIN_STRUCTURE"; }' is not assignable to type '{ value: string; label: { id: string; description: string; defaultMessage: string; }; }[]'.
|
Compile:
src/form/v2/person/address.ts#L201
Type '{ value: string; label: { id: string; description: string; defaultMessage: string; }; }[]' is not assignable to type '{ value: string; label: string; }[]'.
|
Compile
Process completed with exit code 2.
|
Loading