header icon indicating copy to clipboard operation
header copied to clipboard

Type Mismatch

Open ahmedatigui opened this issue 1 year ago • 2 comments

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: {
    ...
  }
}

ahmedatigui avatar Nov 30 '24 13:11 ahmedatigui

class: Header as unknown as ToolConstructable , this is working for me in nextjs

adityakumarcodes avatar Feb 27 '25 05:02 adityakumarcodes

Any chance we get a second approval for this PR?

remolueoend avatar Nov 10 '25 08:11 remolueoend