it's just somewhat annoyign to write import * as rpc from 'rage-rpc'; every time you want to import whole package. You could import only the methods you use, but they by themselves does not exactly describe what they do (e.g. register() can mean a lot of things, while rpc.register is much easier to understand)
it's just somewhat annoyign to write
import * as rpc from 'rage-rpc';
every time you want to import whole package. You could import only the methods you use, but they by themselves does not exactly describe what they do (e.g.register()
can mean a lot of things, while rpc.register is much easier to understand)