Commit 626f31e
authored
feat!: update
This PR adds a new mandatory parameter to the exported symbol for `spreadDimensions`.
BREAKING CHANGE: add `writable` parameter
To migrate, users should be explicit in terms of whether a writable or read-only ndarray is returned. The previous behavior only returned a read-only array when provided a read-only array. The responsibility for determining the appropriate return value behavior is now pushed to userland.
PR-URL: #9386
Reviewed-by: Athan Reines <kgryte@gmail.com>ndarray/base TypeScript declarations1 parent 16eee82 commit 626f31e
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3870 | 3870 | | |
3871 | 3871 | | |
3872 | 3872 | | |
| 3873 | + | |
3873 | 3874 | | |
3874 | 3875 | | |
3875 | 3876 | | |
| |||
3881 | 3882 | | |
3882 | 3883 | | |
3883 | 3884 | | |
3884 | | - | |
| 3885 | + | |
3885 | 3886 | | |
3886 | 3887 | | |
3887 | 3888 | | |
| |||
0 commit comments