ukrbublik/react-awesome-query-builder

MuiConfig.settings.renderField Typescript Error

Opened this issue · 0 comments

Describe the bug
Hello, I am adding this renderField function to settings. But I cannot run it in Typescript due to the following error;
"This expression is not callable.
Not all constituents of type 'FactoryWithContext<FieldProps> | SerializedFunction' are callable.
Type 'string' has no call signatures"
How can I solve this error? Since I cannot solve this error, my nextjs project cannot be build.
"

Screenshots
My Code:
image

Package.json:
image