atomicDEX-API icon indicating copy to clipboard operation
atomicDEX-API copied to clipboard

Symbols ( `::` ) in kdflib.d.ts file cause typescript errors

Open gcharang opened this issue 4 months ago • 0 comments

When the wasm binary is built using the current dev branch ( https://github.com/KomodoPlatform/komodo-defi-framework/tree/80766b0056062797c3c385b9d1497bb31ac00139 ), the kdflib.d.ts file generated looks like this: https://gist.github.com/gcharang/e46b832f190de3be450e2d62388d2723

Check it n https://codebeautify.org/typescript-formatter-online

On line 262:

  readonly __wbgt__mm2_main::lp_ordermatch::my_orders_storage::tests::test_delete_my_maker_order: (a: number) => void;

says error is:

SyntaxError
Type expected. (262:29)

replace it with

  readonly "__wbgt__mm2_main::lp_ordermatch::my_orders_storage::tests::test_delete_my_maker_order": (a: number) => void;

and you can see that the error will be shown for line 263

gcharang avatar Aug 22 '25 20:08 gcharang