Skip to content

Commit 457ce9c

Browse files
authored
docs: update math/base/special TypeScript declaration example code
PR-URL: #9835 Reviewed-by: Philipp Burckhardt <pburckhardt@outlook.com> Signed-off-by: stdlib-bot <82920195+stdlib-bot@users.noreply.github.com>
1 parent 14448a8 commit 457ce9c

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

  • lib/node_modules/@stdlib/math/base/special/docs/types

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

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2852,17 +2852,9 @@ interface Namespace {
28522852
*
28532853
* @example
28542854
* var Complex128 = require( '@stdlib/complex/float64/ctor' );
2855-
* var real = require( '@stdlib/complex/float64/real' );
2856-
* var imag = require( '@stdlib/complex/float64/imag' );
28572855
*
28582856
* var v = ns.cflipsign( new Complex128( -4.2, 5.5 ), -55.0 );
2859-
* // returns <Complex128>
2860-
*
2861-
* var re = real( v );
2862-
* // returns 4.2
2863-
*
2864-
* var im = imag( v );
2865-
* // returns -5.5
2857+
* // returns <Complex128>[ 4.2, -5.5 ]
28662858
*/
28672859
cflipsign: typeof cflipsign;
28682860

0 commit comments

Comments
 (0)