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