Skip to content

Commit

Permalink
Fix for TS 2022 and up problem (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ice-mourne committed May 11, 2024
1 parent 2f4700c commit 426a002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/SvelteNodeViewRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export interface SvelteNodeViewRendererOptions extends NodeViewRendererOptions {
type SvelteComponentRaw = typeof SvelteComponent<Partial<NodeViewProps>>;

class SvelteNodeView extends NodeView<SvelteComponentRaw, Editor, SvelteNodeViewRendererOptions> {
renderer!: SvelteRenderer;
declare renderer: SvelteRenderer;

contentDOMElement!: HTMLElement | null;

Expand Down

0 comments on commit 426a002

Please sign in to comment.