feat!: update ndarray/base TypeScript declarations
#9386
Merged
ndarray/base TypeScript declarations
#9386