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