it's possible like this (not tested) proc `[]`(obj: JsObject, key: string): ??? {.importjs: "#[#]".} Run
but you don't know the return type
it's possible like this (not tested) proc `[]`(obj: JsObject, key: string): ??? {.importjs: "#[#]".} Run
but you don't know the return type