header
header copied to clipboard
Type Mismatch
Type Mismatch
I encountered a type mismatch error where the code passed Property 'config' is optional in type 'BlockToolConstructorOptions<any, any>' but required in type 'ConstructorArgs'. This inconsistency is causing issues and needs to be resolved.
Example
quote: {
class: Header, // type mismatch here
...
config: {
...
}
}
class: Header as unknown as ToolConstructable , this is working for me in nextjs
Any chance we get a second approval for this PR?