Successful compilation.
Error: node_modules/@formio/angular/formio.common.d.ts:4:18 - error TS2430: Interface 'ComponentOptions<T, V>' incorrectly extends interface 'ComponentSchema<T> & { [key: string]: any; }'.
Type 'ComponentOptions<T, V>' is not assignable to type 'ComponentSchema<T>'.
Types of property 'validate' are incompatible.
Type 'V | undefined' is not assignable to type 'ValidateOptions | undefined'.
Type 'V' is not assignable to type 'ValidateOptions | undefined'.
Type 'V' is not assignable to type 'ValidateOptions'.
4 export interface ComponentOptions<T = any, V = ValidateOptions> extends ExtendedComponentSchema<T> {
~~~~~~~~~~~~~~~~
node_modules/@formio/angular/formio.common.d.ts:4:44
4 export interface ComponentOptions<T = any, V = ValidateOptions> extends ExtendedComponentSchema<T> {
~~~~~~~~~~~~~~~~~~~
This type parameter might need an `extends ValidateOptions` constraint.
node_modules/@formio/angular/formio.common.d.ts:4:44
4 export interface ComponentOptions<T = any, V = ValidateOptions> extends ExtendedComponentSchema<T> {
~~~~~~~~~~~~~~~~~~~
This type parameter might need an `extends ValidateOptions | undefined` constraint.
Environment
Please provide as many details as you can:
Steps to Reproduce
ng servethe compilation fails. Error is related to thisformiopackage.Expected behavior
Successful compilation.
Observed behavior
Example