js-stellar-sdk
js-stellar-sdk copied to clipboard
JSDoc/TSDoc from`js-stellar-base` does not properly show up
When using any exports defined in js-stellar-base like nativeToScVal, the JSDoc/TSDoc does not appear when importing from js-stellar-sdk.
For example:
import { nativeToScVal } from '@stellar/stellar-sdk';
const test = nativeToScVal("1234567", { type: 'i128' })
here is the tooltip on hover:
(alias) nativeToScVal(val: any, opts?: {
type: any;
} | undefined): xdr.ScVal
import nativeToScVal
and the source on go to impl:
export function scValToBigInt(scv: xdr.ScVal): bigint;
export function nativeToScVal(val: any, opts?: { type: any }): xdr.ScVal;
export function scValToNative(scv: xdr.ScVal): any;