Skip to content

Commit e8ade3f

Browse files
committed
feat: update assert TypeScript declarations
1 parent 1dcf101 commit e8ade3f

File tree

1 file changed

+73
-1
lines changed
  • lib/node_modules/@stdlib/assert/docs/types

1 file changed

+73
-1
lines changed

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

Lines changed: 73 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,24 @@ import hasFloat64ArraySupport = require( '@stdlib/assert/has-float64array-suppor
4343
import hasFunctionNameSupport = require( '@stdlib/assert/has-function-name-support' );
4444
import hasGeneratorSupport = require( '@stdlib/assert/has-generator-support' );
4545
import hasGlobalThisSupport = require( '@stdlib/assert/has-globalthis-support' );
46+
import hasHasInstanceSymbolSupport = require( '@stdlib/assert/has-has-instance-symbol-support' );
4647
import hasInt8ArraySupport = require( '@stdlib/assert/has-int8array-support' );
4748
import hasInt16ArraySupport = require( '@stdlib/assert/has-int16array-support' );
4849
import hasInt32ArraySupport = require( '@stdlib/assert/has-int32array-support' );
50+
import hasIsConcatSpreadableSymbolSupport = require( '@stdlib/assert/has-is-concat-spreadable-symbol-support' );
4951
import hasIteratorSymbolSupport = require( '@stdlib/assert/has-iterator-symbol-support' );
5052
import hasMapSupport = require( '@stdlib/assert/has-map-support' );
53+
import hasMatchSymbolSupport = require( '@stdlib/assert/has-match-symbol-support' );
5154
import hasNodeBufferSupport = require( '@stdlib/assert/has-node-buffer-support' );
5255
import hasOwnProp = require( '@stdlib/assert/has-own-property' );
5356
import hasProp = require( '@stdlib/assert/has-property' );
5457
import hasProxySupport = require( '@stdlib/assert/has-proxy-support' );
58+
import hasReplaceSymbolSupport = require( '@stdlib/assert/has-replace-symbol-support' );
59+
import hasSearchSymbolSupport = require( '@stdlib/assert/has-search-symbol-support' );
5560
import hasSetSupport = require( '@stdlib/assert/has-set-support' );
5661
import hasSharedArrayBufferSupport = require( '@stdlib/assert/has-sharedarraybuffer-support' );
5762
import hasSymbolSupport = require( '@stdlib/assert/has-symbol-support' );
63+
import hasToPrimitiveSymbolSupport = require( '@stdlib/assert/has-to-primitive-symbol-support' );
5864
import hasToStringTagSupport = require( '@stdlib/assert/has-tostringtag-support' );
5965
import hasUint8ArraySupport = require( '@stdlib/assert/has-uint8array-support' );
6066
import hasUint8ClampedArraySupport = require( '@stdlib/assert/has-uint8clampedarray-support' );
@@ -752,6 +758,17 @@ interface Namespace {
752758
*/
753759
hasGlobalThisSupport: typeof hasGlobalThisSupport;
754760

761+
/**
762+
* Tests for native `Symbol.hasInstance` support.
763+
*
764+
* @returns boolean indicating if an environment has `Symbol.hasInstance` support
765+
*
766+
* @example
767+
* var bool = ns.hasHasInstanceSymbolSupport();
768+
* // returns <boolean>
769+
*/
770+
hasHasInstanceSymbolSupport: typeof hasHasInstanceSymbolSupport;
771+
755772
/**
756773
* Tests for native `Int8Array` support.
757774
*
@@ -785,6 +802,17 @@ interface Namespace {
785802
*/
786803
hasInt32ArraySupport: typeof hasInt32ArraySupport;
787804

805+
/**
806+
* Tests for native `Symbol.isConcatSpreadable` support.
807+
*
808+
* @returns boolean indicating if an environment has `Symbol.isConcatSpreadable` support
809+
*
810+
* @example
811+
* var bool = ns.hasIsConcatSpreadableSymbolSupport();
812+
* // returns <boolean>
813+
*/
814+
hasIsConcatSpreadableSymbolSupport: typeof hasIsConcatSpreadableSymbolSupport;
815+
788816
/**
789817
* Tests for native `Symbol.iterator` support.
790818
*
@@ -807,6 +835,17 @@ interface Namespace {
807835
*/
808836
hasMapSupport: typeof hasMapSupport;
809837

838+
/**
839+
* Tests for native `Symbol.match` support.
840+
*
841+
* @returns boolean indicating if an environment has `Symbol.match` support
842+
*
843+
* @example
844+
* var bool = ns.hasMatchSymbolSupport();
845+
* // returns <boolean>
846+
*/
847+
hasMatchSymbolSupport: typeof hasMatchSymbolSupport;
848+
810849
/**
811850
* Tests for native `Buffer` support.
812851
*
@@ -879,6 +918,28 @@ interface Namespace {
879918
*/
880919
hasProxySupport: typeof hasProxySupport;
881920

921+
/**
922+
* Tests for native `Symbol.replace` support.
923+
*
924+
* @returns boolean indicating if an environment has `Symbol.replace` support
925+
*
926+
* @example
927+
* var bool = ns.hasReplaceSymbolSupport();
928+
* // returns <boolean>
929+
*/
930+
hasReplaceSymbolSupport: typeof hasReplaceSymbolSupport;
931+
932+
/**
933+
* Tests for native `Symbol.search` support.
934+
*
935+
* @returns boolean indicating if an environment has `Symbol.search` support
936+
*
937+
* @example
938+
* var bool = ns.hasSearchSymbolSupport();
939+
* // returns <boolean>
940+
*/
941+
hasSearchSymbolSupport: typeof hasSearchSymbolSupport;
942+
882943
/**
883944
* Tests for native `Set` support.
884945
*
@@ -912,6 +973,17 @@ interface Namespace {
912973
*/
913974
hasSymbolSupport: typeof hasSymbolSupport;
914975

976+
/**
977+
* Tests for native `Symbol.toPrimitive` support.
978+
*
979+
* @returns boolean indicating if an environment has `Symbol.toPrimitive` support
980+
*
981+
* @example
982+
* var bool = ns.hasToPrimitiveSymbolSupport();
983+
* // returns <boolean>
984+
*/
985+
hasToPrimitiveSymbolSupport: typeof hasToPrimitiveSymbolSupport;
986+
915987
/**
916988
* Tests for native `Symbol.toStringTag` support.
917989
*
@@ -2643,7 +2715,7 @@ interface Namespace {
26432715
* // returns false
26442716
*
26452717
* bool = ns.isConstantcase( '' );
2646-
* // returns false
2718+
* // returns true
26472719
*
26482720
* bool = ns.isConstantcase( null );
26492721
* // returns false

0 commit comments

Comments
 (0)