Skip to content

Commit

Permalink
Merge pull request #658 from duncanbarrigan/patch-1
Browse files Browse the repository at this point in the history
Fix type of sheetsById in docs
  • Loading branch information
theoephraim authored Aug 31, 2024
2 parents e02433d + 6d210a2 commit 0478876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/classes/google-spreadsheet.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`<br/>_⚠️ beware of title conflicts_
`sheetsByIndex`| `GoogleSpreadsheetWorksheet[]` |Array of sheets, ordered by their index<br>_this is the order they appear in the Google sheets UI_
`sheetCount`| `number` |Count of child worksheets<br>_same as `doc.sheetsByIndex.length`_
Expand Down

0 comments on commit 0478876

Please sign in to comment.