Skip to content

Commit

Permalink
Relax argument typing requirements for BlotConstructor
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Jan 15, 2024
1 parent c4cd872 commit 9d148df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/blot/abstract/blot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface BlotConstructor {
blotName: string;
className?: string;
tagName: string | string[];
new (scroll: Root, node: Node, value?: any): Blot;
new (...args: any[]): Blot;
create(value?: any): Node;
}

Expand Down

0 comments on commit 9d148df

Please sign in to comment.