Skip to content

Commit cd1a2ec

Browse files
committed
Update namespace Typescript definitions
1 parent 9d0d497 commit cd1a2ec

File tree

34 files changed

+768
-768
lines changed

34 files changed

+768
-768
lines changed

lib/node_modules/@stdlib/assert/tools/docs/types/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import typedarrayfcn = require( '@stdlib/assert/tools/typed-array-function' );
2828
/**
2929
* Interface describing the `tools` namespace.
3030
*/
31-
interface TOOLS {
31+
interface Namespace {
3232
/**
3333
* Returns a function which tests if every element in an array passes a test condition.
3434
*
@@ -48,7 +48,7 @@ interface TOOLS {
4848
* var arr1 = [ 1, 3, 5, 7 ];
4949
* var arr2 = [ 3, 5, 8 ];
5050
*
51-
* var validate = arrayfcn( isOdd );
51+
* var validate = ns.arrayfcn( isOdd );
5252
*
5353
* var bool = validate( arr1 );
5454
* // returns true
@@ -77,7 +77,7 @@ interface TOOLS {
7777
* var arr1 = [ 1, 3, 5, 7 ];
7878
* var arr2 = [ 3, 5, 8 ];
7979
*
80-
* var validate = arraylikefcn( isOdd );
80+
* var validate = ns.arraylikefcn( isOdd );
8181
*
8282
* var bool = validate( arr1 );
8383
* // returns true
@@ -106,7 +106,7 @@ interface TOOLS {
106106
* var arr1 = new Int32Array( [ 1, 3, 5, 7 ] );
107107
* var arr2 = new Int32Array( [ 1, 3, 5, 8 ] );
108108
*
109-
* var validate = typedarrayfcn( isOdd );
109+
* var validate = ns.typedarrayfcn( isOdd );
110110
*
111111
* var bool = validate( arr1 );
112112
* // returns true
@@ -120,9 +120,9 @@ interface TOOLS {
120120
/**
121121
* Standard library assertion utility tools.
122122
*/
123-
declare var tools: TOOLS;
123+
declare var ns: Namespace;
124124

125125

126126
// EXPORTS //
127127

128-
export = tools;
128+
export = ns;

lib/node_modules/@stdlib/assert/tools/docs/types/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,5 @@ import tools = require( './index' );
2525

2626
// The exported value is the expected interface...
2727
{
28-
tools; // $ExpectType TOOLS
28+
tools; // $ExpectType Namespace
2929
}

0 commit comments

Comments
 (0)