Skip to content

Commit

Permalink
Typing improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed Aug 17, 2022
1 parent 1d95615 commit 912516c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/quill.ts
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ class Quill {
}

getSemanticHTML(range: { index: number; length: number }): string;
getSemanticHTML(index: number, length?: number): string;
getSemanticHTML(index?: number, length?: number): string;
getSemanticHTML(
index: { index: number; length: number } | number = 0,
length?: number,
Expand Down
4 changes: 2 additions & 2 deletions modules/tableEmbed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export type TableRowColumnOp = Omit<Op, 'insert'> & {
};

export interface TableData {
rows?: TableRowColumnOp[];
columns?: TableRowColumnOp[];
rows?: Delta['ops'];
columns?: Delta['ops'];
cells?: Record<string, CellData>;
}

Expand Down

0 comments on commit 912516c

Please sign in to comment.