The following should pass as far as I can tell:
import numpy as np
np.ndindex((1, 2)) # error: Argument 1 to "ndindex" has incompatible type "Tuple[int, ...]"; expected "SupportsIndex"
NumPy/Python version information:
1.22.0 3.10.1 (main, Dec 8 2021, 14:43:47) [GCC 9.3.0]