chore(types): fill out remaining partial types. <!-- Thank you for contributing to Pyodide! All improvements are welcome,
     so don't be afraid to make a PR. -->

### Description

<!-- Please explain what your PR is about:
     - reasoning for the change
     - some details of updated code
     - any noteworthy choices to be aware of
	Please refer to any related issues by #<issue_id> -->

Filling out remaining partially typed functions. Had to guess on a few, maybe some Any's could be avoided.

package:
  name: numpy
  version: 1.22.3

source:
  url: https://files.pythonhosted.org/packages/64/4a/b008d1f8a7b9f5206ecf70a53f84e654707e7616a771d84c05151a4713e9/numpy-1.22.3.zip
  sha256: dbc7601a3b7472d559dc7b933b18b4b66f9aa7452c120e87dfb33d02008c8a18

  patches:
    - patches/0001-disable-maybe-uninitialized.patch
    - patches/0002-disable-optimization.patch
    - patches/0003-dont-include-execinfo.patch
    - patches/0004-Fix-ieee754.patch
    - patches/0005-fix-longdouble.patch
    - patches/0006-MAINT-BLD-Fix-math-feature-detection-for-wasm.patch
    - patches/0007-BUG-Fix-the-return-type-of-random_float_fill.patch
    - patches/0008-fix-static-init-of-nditer-pywrap.patch
    - patches/0009-init-alloc-cache.patch
    - patches/0010-make-int-return-values.patch
    - patches/0011-not-build-lapack-lite-as-64-bit.patch
    - patches/0012-use-local-blas-lapack.patch
    - patches/0013-fix-invalid-asm-instruction.patch
    - patches/0014-disable-svml.patch

build:
  cflags: |
    -Wno-return-type
  cross-build-env: true
  cross-build-files:
    - numpy/core/include/numpy/numpyconfig.h
    - numpy/core/include/numpy/_numpyconfig.h
    - numpy/core/lib/libnpymath.a
    - numpy/random/lib/libnpyrandom.a
test:
  imports:
    - numpy

package:
  name: numpy
  version: 1.22.3

source:
  url: https://files.pythonhosted.org/packages/64/4a/b008d1f8a7b9f5206ecf70a53f84e654707e7616a771d84c05151a4713e9/numpy-1.22.3.zip
  sha256: dbc7601a3b7472d559dc7b933b18b4b66f9aa7452c120e87dfb33d02008c8a18

  patches:
    - patches/0001-disable-maybe-uninitialized.patch
    - patches/0002-disable-optimization.patch
    - patches/0003-dont-include-execinfo.patch
    - patches/0004-Fix-ieee754.patch
    - patches/0005-fix-longdouble.patch
    - patches/0006-MAINT-BLD-Fix-math-feature-detection-for-wasm.patch
    - patches/0007-BUG-Fix-the-return-type-of-random_float_fill.patch
    - patches/0008-fix-static-init-of-nditer-pywrap.patch
    - patches/0009-init-alloc-cache.patch
    - patches/0010-make-int-return-values.patch
    - patches/0011-not-build-lapack-lite-as-64-bit.patch
    - patches/0012-use-local-blas-lapack.patch
    - patches/0013-fix-invalid-asm-instruction.patch
    - patches/0014-disable-svml.patch

build:
  cflags: |
    -Wno-return-type
  cross-build-env: true
  cross-build-files:
    - numpy/core/include/numpy/numpyconfig.h
    - numpy/core/include/numpy/_numpyconfig.h
    - numpy/core/lib/libnpymath.a
    - numpy/random/lib/libnpyrandom.a
test:
  imports:
    - numpy
