Reuben F
09/14/2021, 11:45 AMdynamic
using require (val DB = require("pouchdb-browser").default; val db = DB("my_new_db")
) and am just delegating to that in a wrapper class, which is fine.) Just an example, but maybe useful to help illustrate the process one can step through to make the JsModule approach work.Nikola Milovic
09/14/2021, 11:49 AMPitel
09/14/2021, 11:55 AM@file:JsModule
?Pitel
09/14/2021, 11:56 AM@file:JsModule
directly above the external class
definition to make it work.Pitel
09/14/2021, 11:57 AMfile:
part, ofc.)Reuben F
09/14/2021, 12:01 PM@file:JsModule
at the package level, and alternately`@JsModule` when I was trying it as an object, class, or function (right above the respective lines)Reuben F
09/14/2021, 12:03 PM