Skip to content

Commit 59ce154

Browse files
committed
fix: error due to default unknown type
--- 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 df5a282 commit 59ce154

File tree

1 file changed

+5
-5
lines changed
  • lib/node_modules/@stdlib/array/base/count-ifs/docs/types

1 file changed

+5
-5
lines changed

lib/node_modules/@stdlib/array/base/count-ifs/docs/types/index.d.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ type Predicate<T,U> = Nullary | Unary<U> | Binary<U> | Ternary<T,U>;
8888
* var n = countIfs( x0, predicate0 );
8989
* // returns 3
9090
*/
91-
declare function countIfs<T = unknown, U extends InputArray<T>>( x0: U, predicate0: Predicate<T,U> ): number;
91+
declare function countIfs<T, U extends InputArray<T>>( x0: U, predicate0: Predicate<T,U> ): number;
9292

9393
/**
9494
* Counts the number of elements in the input arrays which pass the tests implemented by the predicate functions.
@@ -114,7 +114,7 @@ declare function countIfs<T = unknown, U extends InputArray<T>>( x0: U, predicat
114114
* var n = countIfs( x0, predicate0, x1, predicate1 );
115115
* // returns 2
116116
*/
117-
declare function countIfs<T = unknown, U extends InputArray<T>>( x0: U, predicate0: Predicate<T,U>, x1: U, predicate1: Predicate<T,U> ): number;
117+
declare function countIfs<T, U extends InputArray<T>>( x0: U, predicate0: Predicate<T,U>, x1: U, predicate1: Predicate<T,U> ): number;
118118

119119
/**
120120
* Counts the number of elements in the input arrays which pass the tests implemented by the predicate functions.
@@ -147,7 +147,7 @@ declare function countIfs<T = unknown, U extends InputArray<T>>( x0: U, predicat
147147
* var n = countIfs( x0, predicate0, x1, predicate1 );
148148
* // returns 2
149149
*/
150-
declare function countIfs<T = unknown, U extends InputArray<T>>( x0: U, predicate0: Predicate<T,U>, x1: U, predicate1: Predicate<T,U>, x2: U, predicate2: Predicate<T,U> ): number;
150+
declare function countIfs<T, U extends InputArray<T>>( x0: U, predicate0: Predicate<T,U>, x1: U, predicate1: Predicate<T,U>, x2: U, predicate2: Predicate<T,U> ): number;
151151

152152
/**
153153
* Counts the number of elements in the input arrays which pass the tests implemented by the predicate functions.
@@ -187,7 +187,7 @@ declare function countIfs<T = unknown, U extends InputArray<T>>( x0: U, predicat
187187
* var n = countIfs( x0, predicate0, x1, predicate1, x3, predicate3 );
188188
* // returns 2
189189
*/
190-
declare function countIfs<T = unknown, U extends InputArray<T>>( x0: U, predicate0: Predicate<T,U>, x1: U, predicate1: Predicate<T,U>, x2: U, predicate2: Predicate<T,U>, x3: U, predicate3: Predicate<T,U> ): number;
190+
declare function countIfs<T, U extends InputArray<T>>( x0: U, predicate0: Predicate<T,U>, x1: U, predicate1: Predicate<T,U>, x2: U, predicate2: Predicate<T,U>, x3: U, predicate3: Predicate<T,U> ): number;
191191

192192
/**
193193
* Counts the number of elements in the input arrays which pass the tests implemented by the predicate functions.
@@ -235,7 +235,7 @@ declare function countIfs<T = unknown, U extends InputArray<T>>( x0: U, predicat
235235
* var n = countIfs( x0, predicate0, x1, predicate1, x3, predicate3, x4, predicate4 );
236236
* // returns 2
237237
*/
238-
declare function countIfs<T = unknown, U extends InputArray<T>>( x0: U, predicate0: Predicate<T,U>, x1: U, predicate1: Predicate<T,U>, x2: U, predicate2: Predicate<T,U>, x3: U, predicate3: Predicate<T,U>, x4: U, predicate4: Predicate<T,U>, ...args: Array<U | Predicate<T,U>> ): number;
238+
declare function countIfs<T, U extends InputArray<T>>( x0: U, predicate0: Predicate<T,U>, x1: U, predicate1: Predicate<T,U>, x2: U, predicate2: Predicate<T,U>, x3: U, predicate3: Predicate<T,U>, x4: U, predicate4: Predicate<T,U>, ...args: Array<U | Predicate<T,U>> ): number;
239239

240240

241241
// EXPORTS //

0 commit comments

Comments
 (0)