ankushg
10/14/2020, 6:43 PM@JsExport
also prevent name mangling? Or do you need to use both @JsExport
and @JsName
for that?turansky
10/14/2020, 6:58 PMankushg
10/14/2020, 7:04 PM@JsExport
is responsible for a few different things, but the actual behavior varies depending on the compiler:
• exporting TS types (new IR only)
• preventing DCE from removing (new IR only?)
• preventing name mangling (new IR turansky
10/14/2020, 7:05 PMturansky
10/14/2020, 7:07 PMturansky
10/14/2020, 7:09 PMadk
10/15/2020, 10:45 AMturansky
10/15/2020, 1:26 PMadk
10/15/2020, 2:03 PMadk
10/15/2020, 2:27 PMturansky
10/15/2020, 2:31 PMturansky
10/15/2020, 2:32 PMadk
10/15/2020, 2:32 PMadk
10/15/2020, 2:32 PMadk
10/15/2020, 2:33 PMturansky
10/15/2020, 2:33 PMadk
10/15/2020, 2:35 PM