Commit 72205bd
docs(api): fix getAllSheetsSerialized/getRangeSerialized JSDoc for number cells (HF-219) (#1693)
Fixes the `getAllSheetsSerialized` / `getRangeSerialized` JSDoc examples
that wrongly implied numeric strings are serialized as numbers —
serialization round-trips, preserving the exact input type. Mirrors
#1654. Documentation-only (a single source file changed), so no
CHANGELOG entry per the docs-only convention.
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Low Risk**
> Comment and example changes only; no runtime or serialization logic
modified.
>
> **Overview**
> **Documentation-only** updates to JSDoc for `getAllSheetsSerialized`
and `getRangeSerialized` in `HyperFormula.ts`.
>
> The docs now state that **non-formula cells keep the exact
`RawCellContent` type they were set with** (string `'1'` vs number `1`),
and the embedded examples were corrected so numeric literals are numbers
in sample input/output instead of implying string digits are coerced to
numbers on serialize.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
691b8b1. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Co-authored-by: Kuba Sekowski <jakub.sekowski@handsontable.com>1 parent d4195b5 commit 72205bd
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
995 | 995 | | |
996 | 996 | | |
997 | 997 | | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
998 | 1001 | | |
999 | 1002 | | |
1000 | 1003 | | |
1001 | 1004 | | |
1002 | 1005 | | |
1003 | | - | |
| 1006 | + | |
1004 | 1007 | | |
1005 | 1008 | | |
1006 | | - | |
| 1009 | + | |
| 1010 | + | |
1007 | 1011 | | |
1008 | 1012 | | |
1009 | 1013 | | |
| |||
2494 | 2498 | | |
2495 | 2499 | | |
2496 | 2500 | | |
| 2501 | + | |
| 2502 | + | |
| 2503 | + | |
2497 | 2504 | | |
2498 | 2505 | | |
2499 | 2506 | | |
| |||
2503 | 2510 | | |
2504 | 2511 | | |
2505 | 2512 | | |
2506 | | - | |
2507 | | - | |
2508 | | - | |
| 2513 | + | |
| 2514 | + | |
| 2515 | + | |
2509 | 2516 | | |
2510 | 2517 | | |
2511 | 2518 | | |
| |||
0 commit comments