Both lighterhtml and dom-augmentor have an index.d.ts file so that it should be relatively easy to add one in here that exports all methods from dom-augmentor and specify the extra Hook class which has only self.fn as Function and self.args as Array, used in its own constructor function Hook(fn, args) {}.
As I'm not a TypeScript user, I'd love to have some help in here from whoever uses this library and has interest in defining types for it.
Both lighterhtml and dom-augmentor have an
index.d.ts
file so that it should be relatively easy to add one in here that exports all methods from dom-augmentor and specify the extraHook
class which has onlyself.fn as Function
andself.args as Array
, used in its own constructorfunction Hook(fn, args) {}
.As I'm not a TypeScript user, I'd love to have some help in here from whoever uses this library and has interest in defining types for it.
Thanks in advance for anyone helping out.