From 082c55e00b60115af1b2a86509fb8de13f3fa42e Mon Sep 17 00:00:00 2001 From: Philipp Burckhardt Date: Thu, 4 Jun 2026 13:22:13 -0500 Subject: [PATCH] fix: type `dtype` parameter as `DataType` in `blas/tools/swap-factory` --- 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_pkg_readmes status: na - task: lint_markdown_docs status: na - 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 --- --- .../@stdlib/blas/tools/swap-factory/docs/types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/node_modules/@stdlib/blas/tools/swap-factory/docs/types/index.d.ts b/lib/node_modules/@stdlib/blas/tools/swap-factory/docs/types/index.d.ts index 65f2f9d8190a..4a404bedaa26 100644 --- a/lib/node_modules/@stdlib/blas/tools/swap-factory/docs/types/index.d.ts +++ b/lib/node_modules/@stdlib/blas/tools/swap-factory/docs/types/index.d.ts @@ -20,7 +20,7 @@ /// -import { ndarray } from '@stdlib/types/ndarray'; +import { ndarray, DataType } from '@stdlib/types/ndarray'; import { Collection, AccessorArrayLike } from '@stdlib/types/array'; /** @@ -81,7 +81,7 @@ type SwapFunction = ( x: ndarray, y: ndarray, dim?: number ) => ndarray; * var ybuf = y.data; * // returns [ 4.0, 2.0, -3.0, 5.0, -1.0 ] */ -declare function factory>( base: BaseFunction, dtype: any ): SwapFunction; +declare function factory>( base: BaseFunction, dtype: DataType ): SwapFunction; // EXPORTS //