From 6d210a2875adec62a37b108615fbd58d5803e8ec Mon Sep 17 00:00:00 2001 From: duncanbarrigan Date: Thu, 5 Oct 2023 09:06:25 -0400 Subject: [PATCH] use correct type in docs --- docs/classes/google-spreadsheet.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/classes/google-spreadsheet.md b/docs/classes/google-spreadsheet.md index c0a5c162..dcac8cbe 100644 --- a/docs/classes/google-spreadsheet.md +++ b/docs/classes/google-spreadsheet.md @@ -76,7 +76,7 @@ The child worksheets (each an instance of [`GoogleSpreadsheetWorksheet`](classes Property|Type|Description ---|---|--- -`sheetsById`| `{ [sheetId: string]: GoogleSpreadsheetWorksheet }` | Child worksheets, keyed by their `sheetId` +`sheetsById`| `{ [sheetId: number]: GoogleSpreadsheetWorksheet }` | Child worksheets, keyed by their `sheetId` `sheetsByTitle`| `{ [title: string]: GoogleSpreadsheetWorksheet }` | Child worksheets keyed by their `title`
_⚠️ beware of title conflicts_ `sheetsByIndex`| `GoogleSpreadsheetWorksheet[]` |Array of sheets, ordered by their index
_this is the order they appear in the Google sheets UI_ `sheetCount`| `number` |Count of child worksheets
_same as `doc.sheetsByIndex.length`_