adding typescript support for wasteof.js, mainly because there might be some typescript users that may want to code with it

and add better(?) features to the module

comments