Skip to content

Commit fc42d47

Browse files
committed
fix: use a generic
--- 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: na - task: lint_license_headers status: passed ---
1 parent 083a2c7 commit fc42d47

File tree

1 file changed

+5
-1
lines changed
  • lib/node_modules/@stdlib/math/base/special/kernel-sincos/docs/types

1 file changed

+5
-1
lines changed

lib/node_modules/@stdlib/math/base/special/kernel-sincos/docs/types/index.d.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
// TypeScript Version: 4.1
2020

21+
/// <reference types="@stdlib/types"/>
22+
23+
import { NumericArray } from '@stdlib/types/array';
24+
2125
/**
2226
* Simultaneously computes the sine and cosine of an angle measured in radians within the interval `[-π/4, π/4]` and stores the results in a provided output array.
2327
*
@@ -44,7 +48,7 @@
4448
* var v = kernelSincos( NaN, 0.0, [ 0.0, 0.0 ], 1, 0 );
4549
* // returns [ NaN, NaN ]
4650
*/
47-
declare function kernelSincos( x: number, y: number, out: Array<number>, stride: number, offset: number ): Array<number>;
51+
declare function kernelSincos<T extends NumericArray>( x: number, y: number, out: T, stride: number, offset: number ): T;
4852

4953

5054
// EXPORTS //

0 commit comments

Comments
 (0)