Closed tanishqkancharla closed 1 year ago
Before:
// codec.d.ts export declare function encodeTuple(tuple: Tuple): any;
After:
// codec.d.ts export declare function encodeTuple(tuple: Tuple): string;
elen doesn't have type definitions, so it was returning any which propagated down to the type of encodeTuple. It would be better just to add types to elen, but its docs website doesn't seem to be set up correctly: https://cdn.jsdelivr.net/gh/ealmansi/elen@master/docs/global.html#encode
elen
any
encodeTuple
Before:
After:
elen
doesn't have type definitions, so it was returningany
which propagated down to the type ofencodeTuple
. It would be better just to add types toelen
, but its docs website doesn't seem to be set up correctly: https://cdn.jsdelivr.net/gh/ealmansi/elen@master/docs/global.html#encode