🚨 Active Supply Chain Attack:node-ipc Package Compromised.Learn More
Socket
Book a DemoSign in
Socket

@stdlib/array-typed-complex-ctors

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stdlib/array-typed-complex-ctors - npm Package Compare versions

Comparing version
0.0.5
to
0.0.6
+27
-0
docs/types/index.d.ts

@@ -21,3 +21,30 @@ /*

import Complex128Array = require( '@stdlib/array-complex128' );
import Complex64Array = require( '@stdlib/array-complex64' );
/**
* Returns a `Complex128Array` constructor.
*
* @param dtype - data type
* @returns constructor
*
* @example
* var ctor = ctors( 'complex128' );
* // returns <Function>
*/
declare function ctors( dtype: 'complex128' ): typeof Complex128Array;
/**
* Returns a `Complex64Array` constructor.
*
* @param dtype - data type
* @returns constructor
*
* @example
* var ctor = ctors( 'complex64' );
* // returns <Function>
*/
declare function ctors( dtype: 'complex64' ): typeof Complex64Array;
/**
* Returns a complex typed array constructor.

@@ -24,0 +51,0 @@ *

+3
-1

@@ -21,2 +21,3 @@ /*

// TESTS //

@@ -26,3 +27,4 @@

{
ctors( 'complex128' ); // $ExpectType Function | null
ctors( 'complex128' ); // $ExpectType Complex128ArrayConstructor
ctors( 'complex64' ); // $ExpectType Complex64ArrayConstructor
ctors( 'float' ); // $ExpectType Function | null

@@ -29,0 +31,0 @@ }

+1
-1

@@ -1,1 +0,1 @@

Copyright (c) 2016-2021 The Stdlib Authors.
Copyright (c) 2016-2022 The Stdlib Authors.
{
"name": "@stdlib/array-typed-complex-ctors",
"version": "0.0.5",
"version": "0.0.6",
"description": "Complex typed array constructors.",

@@ -5,0 +5,0 @@ "license": "Apache-2.0",

@@ -23,3 +23,3 @@ <!--

[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
[![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->

@@ -123,2 +123,17 @@ > Complex typed array constructors.

<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
<section class="related">
* * *
## See Also
- <span class="package-name">[`@stdlib/array/ctors`][@stdlib/array/ctors]</span><span class="delimiter">: </span><span class="description">array constructors.</span>
- <span class="package-name">[`@stdlib/array/typed-ctors`][@stdlib/array/typed-ctors]</span><span class="delimiter">: </span><span class="description">typed array constructors.</span>
</section>
<!-- /.related -->
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->

@@ -150,3 +165,3 @@

Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].

@@ -170,5 +185,16 @@ </section>

<!--
[dependencies-image]: https://img.shields.io/david/stdlib-js/array-typed-complex-ctors.svg
[dependencies-url]: https://david-dm.org/stdlib-js/array-typed-complex-ctors/main
-->
[umd]: https://github.com/umdjs/umd
[es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
[deno-url]: https://github.com/stdlib-js/array-typed-complex-ctors/tree/deno
[umd-url]: https://github.com/stdlib-js/array-typed-complex-ctors/tree/umd
[esm-url]: https://github.com/stdlib-js/array-typed-complex-ctors/tree/esm
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg

@@ -183,4 +209,12 @@ [chat-url]: https://gitter.im/stdlib-js/stdlib/

<!-- <related-links> -->
[@stdlib/array/ctors]: https://www.npmjs.com/package/@stdlib/array-ctors
[@stdlib/array/typed-ctors]: https://www.npmjs.com/package/@stdlib/array-typed-ctors
<!-- </related-links> -->
</section>
<!-- /.links -->