diff --git a/src/formio/base.ts b/src/formio/base.ts index 5377da0..3204589 100644 --- a/src/formio/base.ts +++ b/src/formio/base.ts @@ -42,8 +42,8 @@ export interface DisplayConfig { */ export interface PrefillConfig { prefill?: { - plugin: string | null; - attribute: string | null; + plugin: string; // when no prefill is applicable, the value must be empty string + attribute: string; // when no prefill is applicable, the value must be empty string identifierRole: 'main' | 'authorised_person'; }; }