Skip to content

Commit de6839a

Browse files
committed
Update namespace Typescript definitions
1 parent cd1a2ec commit de6839a

File tree

32 files changed

+279
-255
lines changed

32 files changed

+279
-255
lines changed

lib/node_modules/@stdlib/blas/ext/docs/types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import base = require( '@stdlib/blas/ext/base' );
2626
/**
2727
* Interface describing the `ext` namespace.
2828
*/
29-
interface EXT {
29+
interface Namespace {
3030
/**
3131
* Standard library extended basic linear algebra subroutines (BLAS).
3232
*/
@@ -36,9 +36,9 @@ interface EXT {
3636
/**
3737
* Standard library extended BLAS.
3838
*/
39-
declare var ext: EXT;
39+
declare var ns: Namespace;
4040

4141

4242
// EXPORTS //
4343

44-
export = ext;
44+
export = ns;

lib/node_modules/@stdlib/blas/ext/docs/types/test.ts

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

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

lib/node_modules/@stdlib/constants/docs/types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import time = require( '@stdlib/constants/time' );
2929
/**
3030
* Interface describing the `constants` namespace.
3131
*/
32-
interface CONSTANTS {
32+
interface Namespace {
3333
/**
3434
* Array constants.
3535
*/
@@ -54,9 +54,9 @@ interface CONSTANTS {
5454
/**
5555
* Standard library constants.
5656
*/
57-
declare var constants: CONSTANTS;
57+
declare var ns: Namespace;
5858

5959

6060
// EXPORTS //
6161

62-
export = constants;
62+
export = ns;

lib/node_modules/@stdlib/constants/docs/types/test.ts

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

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

lib/node_modules/@stdlib/math/utils/docs/types/index.d.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import logspace = require( '@stdlib/math/utils/logspace' );
2828
/**
2929
* Interface describing the `utils` namespace.
3030
*/
31-
interface Utils {
31+
interface Namespace {
3232
/**
3333
* Generates a linearly spaced numeric array using a provided increment.
3434
*
@@ -39,7 +39,7 @@ interface Utils {
3939
* @returns linearly spaced numeric array
4040
*
4141
* @example
42-
* var arr = incrspace( 0, 11, 2 );
42+
* var arr = ns.incrspace( 0, 11, 2 );
4343
* // returns [ 0, 2, 4, 6, 8, 10 ]
4444
*/
4545
incrspace: typeof incrspace;
@@ -54,7 +54,7 @@ interface Utils {
5454
* @returns linearly spaced numeric array
5555
*
5656
* @example
57-
* var arr = linspace( 0, 100, 6 );
57+
* var arr = ns.linspace( 0, 100, 6 );
5858
* // returns [ 0, 20, 40, 60, 80, 100 ]
5959
*/
6060
linspace: typeof linspace;
@@ -69,7 +69,7 @@ interface Utils {
6969
* @returns logarithmically spaced numeric array
7070
*
7171
* @example
72-
* var arr = logspace( 0, 2, 6 );
72+
* var arr = ns.logspace( 0, 2, 6 );
7373
* // returns [ 1, ~2.5, ~6.31, ~15.85, ~39.81, 100 ]
7474
*/
7575
logspace: typeof logspace;
@@ -78,9 +78,9 @@ interface Utils {
7878
/**
7979
* Standard library generic mathematical utilities.
8080
*/
81-
declare var utils: Utils;
81+
declare var ns: Namespace;
8282

8383

8484
// EXPORTS //
8585

86-
export = utils;
86+
export = ns;

lib/node_modules/@stdlib/math/utils/docs/types/test.ts

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

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

0 commit comments

Comments
 (0)