MAINT Add return type annotations to public functions in nilearn.masking
MAINT Add return type annotations to public functions in nilearn.masking: a task in life-science-SWE1.0 (Harbor dataset). Title: MAINT Add return type annotations to public functions in nilearn.masking
The task
**Title:** [MAINT] Add return type annotations to public functions in nilearn.masking
Part of scalingX/life-science-SWE1.0.