diff --git a/CHANGELOG.md b/CHANGELOG.md index 17db7ac3..be26a4ee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2286,6 +2286,7 @@ A total of 13 people contributed to this release. Thank you to the following con
+- [`83044a1`](https://github.com/stdlib-js/stdlib/commit/83044a19f51a143c06d5bb59900d08e02f66e3c4) - **docs:** update namespace TypeScript declarations [(#2465)](https://github.com/stdlib-js/stdlib/pull/2465) _(by stdlib-bot, Athan Reines)_ - [`a3132d2`](https://github.com/stdlib-js/stdlib/commit/a3132d275df3729f7d91008bc81610736622ee7a) - **feat:** add boolean dtype support to `array/empty-like` [(#2460)](https://github.com/stdlib-js/stdlib/pull/2460) _(by Jaysukh Makvana, Athan Reines)_ - [`d4815b6`](https://github.com/stdlib-js/stdlib/commit/d4815b6becd6231209dfdf39808a0014bcf24b84) - **feat:** add boolean dtype support to `array/empty` [(#2459)](https://github.com/stdlib-js/stdlib/pull/2459) _(by Jaysukh Makvana, Athan Reines)_ - [`bddc8fa`](https://github.com/stdlib-js/stdlib/commit/bddc8fac1c445fe07cae159c3697ad2734432657) - **feat:** add boolean dtype support to `array/full-like` [(#2462)](https://github.com/stdlib-js/stdlib/pull/2462) _(by Jaysukh Makvana, Athan Reines)_ diff --git a/docs/types/index.d.ts b/docs/types/index.d.ts index 2758ba02..f04a2003 100644 --- a/docs/types/index.d.ts +++ b/docs/types/index.d.ts @@ -521,21 +521,6 @@ interface Namespace { /** * Creates an uninitialized array having a specified length. * - * The function recognizes the following data types: - * - * - `float64`: double-precision floating-point numbers (IEEE 754) - * - `float32`: single-precision floating-point numbers (IEEE 754) - * - `complex128`: double-precision complex floating-point numbers - * - `complex64`: single-precision complex floating-point numbers - * - `int32`: 32-bit two's complement signed integers - * - `uint32`: 32-bit unsigned integers - * - `int16`: 16-bit two's complement signed integers - * - `uint16`: 16-bit unsigned integers - * - `int8`: 8-bit two's complement signed integers - * - `uint8`: 8-bit unsigned integers - * - `uint8c`: 8-bit unsigned integers clamped to `0-255` - * - `generic`: generic JavaScript values - * * ## Notes * * - In browser environments, the function always returns zero-filled arrays. @@ -565,21 +550,6 @@ interface Namespace { * - If `dtype` is `'generic'`, the function always returns a zero-filled array. * - In Node.js versions `>=3.0.0`, the underlying memory of returned typed arrays is **not** initialized. Memory contents are unknown and may contain **sensitive** data. * - * The function recognizes the following data types: - * - * - `float64`: double-precision floating-point numbers (IEEE 754) - * - `float32`: single-precision floating-point numbers (IEEE 754) - * - `complex128`: double-precision complex floating-point numbers - * - `complex64`: single-precision complex floating-point numbers - * - `int32`: 32-bit two's complement signed integers - * - `uint32`: 32-bit unsigned integers - * - `int16`: 16-bit two's complement signed integers - * - `uint16`: 16-bit unsigned integers - * - `int8`: 8-bit two's complement signed integers - * - `uint8`: 8-bit unsigned integers - * - `uint8c`: 8-bit unsigned integers clamped to `0-255` - * - `generic`: generic JavaScript values - * * @param x - input array from which to derive the output array length * @param dtype - data type * @returns empty array @@ -723,21 +693,6 @@ interface Namespace { /** * Creates a filled array having a specified length. * - * The function recognizes the following data types: - * - * - `float64`: double-precision floating-point numbers (IEEE 754) - * - `float32`: single-precision floating-point numbers (IEEE 754) - * - `complex128`: double-precision complex floating-point numbers - * - `complex64`: single-precision complex floating-point numbers - * - `int32`: 32-bit two's complement signed integers - * - `uint32`: 32-bit unsigned integers - * - `int16`: 16-bit two's complement signed integers - * - `uint16`: 16-bit unsigned integers - * - `int8`: 8-bit two's complement signed integers - * - `uint8`: 8-bit unsigned integers - * - `uint8c`: 8-bit unsigned integers clamped to `0-255` - * - `generic`: generic JavaScript values - * * @param length - array length * @param value - fill value * @param dtype - data type (default: 'float64') @@ -756,21 +711,6 @@ interface Namespace { /** * Creates a filled array having the same length and data type as a provided input array. * - * The function supports the following data types: - * - * - `float64`: double-precision floating-point numbers (IEEE 754) - * - `float32`: single-precision floating-point numbers (IEEE 754) - * - `complex128`: double-precision complex floating-point numbers - * - `complex64`: single-precision complex floating-point numbers - * - `int32`: 32-bit two's complement signed integers - * - `uint32`: 32-bit unsigned integers - * - `int16`: 16-bit two's complement signed integers - * - `uint16`: 16-bit unsigned integers - * - `int8`: 8-bit two's complement signed integers - * - `uint8`: 8-bit unsigned integers - * - `uint8c`: 8-bit unsigned integers clamped to `0-255` - * - `generic`: generic JavaScript values - * * @param x - input array from which to derive the output array length * @param value - fill value * @param dtype - data type