sheetjs/packages
Alex von Brandenfels ffe030fee4 Accept readonly array inputs
This changes some type definitions so that sheetjs accepts readonly arrays in places where it's not mutating the array anyway.

For example, without this change, the following code would not compile:
```
const myData: ReadonlyArray<{ col1: string, col2: string}> = [{ col1: 'a', col2: 'b' }];
const myWorksheet = utils. json_to_sheet(myData);
```
This theoretically should work - sheetjs isn't mutating the myData array anyway, so it should accept a readonly array as input.

Signed-off-by: Alex von Brandenfels <sweater-baron@noreply.git.sheetjs.com>
2025-03-26 19:12:23 +00:00
..
dta dta v0.0.2 2024-03-22 00:39:09 -04:00
otorp denoized otorp [ci skip] 2023-01-06 02:37:53 -05:00
s Accept readonly array inputs 2025-03-26 19:12:23 +00:00
s2c precise time parse (h/t @ragearino @MyAddonsDev ) 2022-08-06 22:50:58 -04:00
ssf actually remove test_files submodule 2024-07-19 14:57:19 -04:00
ssf-cli ssf repo reorg 2022-03-09 06:28:19 -05:00
xlsx-cli xlsx-cli v1.1.4 2023-10-11 16:22:42 -04:00