Open pszalanski opened 1 year ago
It's possible that this has to do with Angular's recent typing improvements; as a workaround, can you try to use QueryParamGroup
instead of binding a standalone param?
Then I get this:
this.searchGroup.add('firmware_name', this.firmwareNameParam);
The error:
TS2345: Argument of type 'QueryParam<string>' is not assignable to parameter of type 'QueryParam<unknown> | MultiQueryParam<unknown> | PartitionedQueryParam<unknown, unknown[]>'.
Type 'QueryParam<string>' is not assignable to type 'QueryParam<unknown>'.
Types of property 'serialize' are incompatible.
Type 'ParamSerializer<string | null>' is not assignable to type 'ParamSerializer<unknown>'.
Type 'unknown' is not assignable to type 'string | null'.
I am getting an error after setting up query parameter bindings:
This is the setup of the parameter:
I followed the example in the documentation.
My node_modules: