Skip to content

Commit 6d210a2

Browse files
use correct type in docs
1 parent a7260d8 commit 6d210a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/classes/google-spreadsheet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The child worksheets (each an instance of [`GoogleSpreadsheetWorksheet`](classes
7676

7777
Property|Type|Description
7878
---|---|---
79-
`sheetsById`| `{ [sheetId: string]: GoogleSpreadsheetWorksheet }` | Child worksheets, keyed by their `sheetId`
79+
`sheetsById`| `{ [sheetId: number]: GoogleSpreadsheetWorksheet }` | Child worksheets, keyed by their `sheetId`
8080
`sheetsByTitle`| `{ [title: string]: GoogleSpreadsheetWorksheet }` | Child worksheets keyed by their `title`<br/>_⚠️ beware of title conflicts_
8181
`sheetsByIndex`| `GoogleSpreadsheetWorksheet[]` |Array of sheets, ordered by their index<br>_this is the order they appear in the Google sheets UI_
8282
`sheetCount`| `number` |Count of child worksheets<br>_same as `doc.sheetsByIndex.length`_

0 commit comments

Comments
 (0)