Skip to content

Commit bda1a5c

Browse files
committed
fix: use correct types
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: passed - task: lint_license_headers status: passed ---
1 parent 4bbb36f commit bda1a5c

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

lib/node_modules/@stdlib/stats/base/ndarray/dmskmin/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
/// <reference types="@stdlib/types"/>
2222

23-
import { ndarray } from '@stdlib/types/ndarray';
23+
import { float64ndarray, uint8ndarray } from '@stdlib/types/ndarray';
2424

2525
/**
2626
* Computes the minimum value of a one-dimensional double-precision floating-point ndarray according to a mask.
@@ -42,7 +42,7 @@ import { ndarray } from '@stdlib/types/ndarray';
4242
* var v = dmskmin( [ x, mask ] );
4343
* // returns -2.0
4444
*/
45-
declare function dmskmin<T extends ndarray = ndarray>( arrays: [ T, T ] ): number;
45+
declare function dmskmin( arrays: [ float64ndarray, uint8ndarray ] ): number;
4646

4747

4848
// EXPORTS //

lib/node_modules/@stdlib/stats/base/ndarray/dmskrange/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
/// <reference types="@stdlib/types"/>
2222

23-
import { ndarray } from '@stdlib/types/ndarray';
23+
import { float64ndarray, uint8ndarray } from '@stdlib/types/ndarray';
2424

2525
/**
2626
* Calculates the range of a one-dimensional double-precision floating-point ndarray according to a mask.
@@ -42,7 +42,7 @@ import { ndarray } from '@stdlib/types/ndarray';
4242
* var v = dmskrange( [ x, mask ] );
4343
* // returns 4.0
4444
*/
45-
declare function dmskrange<T extends ndarray = ndarray>( arrays: [ T, T ] ): number;
45+
declare function dmskrange( arrays: [ float64ndarray, uint8ndarray ] ): number;
4646

4747

4848
// EXPORTS //

lib/node_modules/@stdlib/stats/base/ndarray/smskmin/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
/// <reference types="@stdlib/types"/>
2222

23-
import { ndarray } from '@stdlib/types/ndarray';
23+
import { float32ndarray, uint8ndarray } from '@stdlib/types/ndarray';
2424

2525
/**
2626
* Computes the minimum value of a one-dimensional single-precision floating-point ndarray according to a mask.
@@ -42,7 +42,7 @@ import { ndarray } from '@stdlib/types/ndarray';
4242
* var v = smskmin( [ x, mask ] );
4343
* // returns -2.0
4444
*/
45-
declare function smskmin<T extends ndarray = ndarray>( arrays: [ T, T ] ): number;
45+
declare function smskmin( arrays: [ float32ndarray, uint8ndarray ] ): number;
4646

4747

4848
// EXPORTS //

lib/node_modules/@stdlib/stats/base/ndarray/smskrange/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
/// <reference types="@stdlib/types"/>
2222

23-
import { ndarray } from '@stdlib/types/ndarray';
23+
import { float32ndarray, uint8ndarray } from '@stdlib/types/ndarray';
2424

2525
/**
2626
* Calculates the range of a one-dimensional single-precision floating-point ndarray according to a mask.
@@ -42,7 +42,7 @@ import { ndarray } from '@stdlib/types/ndarray';
4242
* var v = smskrange( [ x, mask ] );
4343
* // returns 4.0
4444
*/
45-
declare function smskrange<T extends ndarray = ndarray>( arrays: [ T, T ] ): number;
45+
declare function smskrange( arrays: [ float32ndarray, uint8ndarray ] ): number;
4646

4747

4848
// EXPORTS //

0 commit comments

Comments
 (0)