Skip to content

Commit 98b7643

Browse files
committed
docs: rename class to match public symbol
--- 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 80b5969 commit 98b7643

File tree

2 files changed

+20
-20
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/pareto-type1/ctor/docs/types

2 files changed

+20
-20
lines changed

lib/node_modules/@stdlib/stats/base/dists/pareto-type1/ctor/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* Pareto (Type I) distribution.
2323
*/
24-
declare class Pareto {
24+
declare class Pareto1 {
2525
/**
2626
* Pareto (Type I) distribution constructor.
2727
*
@@ -152,4 +152,4 @@ declare class Pareto {
152152

153153
// EXPORTS //
154154

155-
export = Pareto;
155+
export = Pareto1;

lib/node_modules/@stdlib/stats/base/dists/pareto-type1/ctor/docs/types/test.ts

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,36 +18,36 @@
1818

1919
/* eslint-disable @typescript-eslint/no-unused-expressions */
2020

21-
import Pareto = require( './index' );
21+
import Pareto1 = require( './index' );
2222

2323

2424
// TESTS //
2525

2626
// The function returns a distribution instance...
2727
{
28-
new Pareto(); // $ExpectType Pareto
29-
new Pareto( 1.0, 2.0 ); // $ExpectType Pareto
28+
new Pareto1(); // $ExpectType Pareto1
29+
new Pareto1( 1.0, 2.0 ); // $ExpectType Pareto1
3030
}
3131

3232
// The compiler throws an error if the function is provided values other than two numbers...
3333
{
34-
new Pareto( true, 2.0 ); // $ExpectError
35-
new Pareto( false, 2.0 ); // $ExpectError
36-
new Pareto( '5', 2.0 ); // $ExpectError
37-
new Pareto( [], 2.0 ); // $ExpectError
38-
new Pareto( {}, 2.0 ); // $ExpectError
39-
new Pareto( ( x: number ): number => x, 2.0 ); // $ExpectError
40-
41-
new Pareto( 1.0, true ); // $ExpectError
42-
new Pareto( 1.0, false ); // $ExpectError
43-
new Pareto( 1.0, '5' ); // $ExpectError
44-
new Pareto( 1.0, [] ); // $ExpectError
45-
new Pareto( 1.0, {} ); // $ExpectError
46-
new Pareto( 1.0, ( x: number ): number => x ); // $ExpectError
34+
new Pareto1( true, 2.0 ); // $ExpectError
35+
new Pareto1( false, 2.0 ); // $ExpectError
36+
new Pareto1( '5', 2.0 ); // $ExpectError
37+
new Pareto1( [], 2.0 ); // $ExpectError
38+
new Pareto1( {}, 2.0 ); // $ExpectError
39+
new Pareto1( ( x: number ): number => x, 2.0 ); // $ExpectError
40+
41+
new Pareto1( 1.0, true ); // $ExpectError
42+
new Pareto1( 1.0, false ); // $ExpectError
43+
new Pareto1( 1.0, '5' ); // $ExpectError
44+
new Pareto1( 1.0, [] ); // $ExpectError
45+
new Pareto1( 1.0, {} ); // $ExpectError
46+
new Pareto1( 1.0, ( x: number ): number => x ); // $ExpectError
4747
}
4848

4949
// The compiler throws an error if the function is provided an unsupported number of arguments...
5050
{
51-
new Pareto( 1.0 ); // $ExpectError
52-
new Pareto( 1.0, 1.0, 2.0 ); // $ExpectError
51+
new Pareto1( 1.0 ); // $ExpectError
52+
new Pareto1( 1.0, 1.0, 2.0 ); // $ExpectError
5353
}

0 commit comments

Comments
 (0)