File tree Expand file tree Collapse file tree
lib/node_modules/@stdlib/number/uint64/ctor/docs/types Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,19 +33,19 @@ import Uint64 = require( './index' );
3333 x . byteLength ; // $ExpectType 8
3434}
3535
36- // Unsigned 64-bit integer comes with a `toString` method to serialize an instance as a string...
36+ // The function returns an instance having a `toString` method to serialize an instance as a string...
3737{
3838 const x = new Uint64 ( 5 ) ; // $ExpectType Uint64
3939 x . toString ( ) ; // $ExpectType string
4040}
4141
42- // Unsigned 64-bit integer comes with a `toJSON` method to serialize an instance as a JSON object....
42+ // The function returns an instance having a `toJSON` method to serialize an instance as a JSON object....
4343{
4444 const x = new Uint64 ( 5 ) ; // $ExpectType Uint64
4545 x . toJSON ( ) ; // $ExpectType SerializedUint64
4646}
4747
48- // Unsigned 64-bit integer comes with a `valueOf` method to serialize an instance to a primitive value...
48+ // The function returns an instance having a `valueOf` method to serialize an instance to a primitive value...
4949{
5050 const x = new Uint64 ( 5 ) ; // $ExpectType Uint64
5151 x . valueOf ( ) ; // $ExpectType number | bigint
You can’t perform that action at this time.
0 commit comments