Skip to content

Commit 2e68ac6

Browse files
committed
feat: add type definitions for data type "kinds"
1 parent e25b23b commit 2e68ac6

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

lib/node_modules/@stdlib/types/index.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ declare module '@stdlib/types/array' {
8181
*/
8282
type NumericDataType = RealDataType | ComplexFloatingPointDataType; // "numeric"
8383

84+
/**
85+
* Data type "kinds".
86+
*/
87+
type DataTypeKind = 'all' | 'numeric' | 'real' | 'floating_point' | 'real_floating_point' | 'complex_floating_point' | 'integer' | 'signed_integer' | 'unsigned_integer';
88+
8489
/**
8590
* An array-like value.
8691
*
@@ -788,6 +793,11 @@ declare module '@stdlib/types/ndarray' {
788793
*/
789794
type NumericDataType = RealDataType | ComplexFloatingPointDataType; // "numeric"
790795

796+
/**
797+
* Data type "kinds".
798+
*/
799+
type DataTypeKind = 'all' | 'numeric' | 'real' | 'floating_point' | 'real_floating_point' | 'complex_floating_point' | 'integer' | 'signed_integer' | 'unsigned_integer';
800+
791801
/**
792802
* Output data type policy.
793803
*/

0 commit comments

Comments
 (0)