Skip to content

Commit

Permalink
Merge pull request #336 from Samlof/master
Browse files Browse the repository at this point in the history
Fix type definition for cellText
  • Loading branch information
myliang authored Jul 23, 2020
2 parents 1893749 + 0043d42 commit e21db10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,14 @@ declare module 'x-data-spreadsheet' {
* get/set cell text
* @param rowIndex
* @param colIndex
* @param text
* @param sheetIndex
*/
cellText(
rowIndex: number,
colIndex: number,
sheetIndex?: number,
text?: string
text: string,
sheetIndex?: number
): string;
/**
* remove current sheet
Expand Down

0 comments on commit e21db10

Please sign in to comment.