feat: update ndarray/base TypeScript declarations
#11166
Merged
ndarray/base TypeScript declarations
#11166