I have a lib (gli) that I'd like to refer and use ...
# getting-started
e
I have a lib (gli) that I'd like to refer and use through
gli.whatever
. I'm currently using
object gli
that extends several interfaces that groups logic calls together in a single file. This works until you need to have also initialized properties inside those interfaces (which you cannot). Any alternatives or shall I switch my
object
to an hardcoded singletone
class
extending other classes?