Skip to content

Commit

Permalink
fix: correct config type
Browse files Browse the repository at this point in the history
  • Loading branch information
rdunk committed Jan 17, 2024
1 parent b1afa92 commit c911c23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface TableConfig {
rowType?: string;
}

export const table = definePlugin<TableConfig | undefined>(config => {
export const table = definePlugin<TableConfig | void>(config => {
const tableRowSchema = defineType({
title: 'Table Row',
name: config?.rowType || 'tableRow',
Expand Down

0 comments on commit c911c23

Please sign in to comment.