diff --git a/src/index.d.ts b/src/index.d.ts index 961fe781..d0a6f019 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -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