Skip to content

Conversation

tinnick
Copy link

@tinnick tinnick commented Apr 29, 2020

I rewrote the source in typescript.
Please check and see if there are any problems in the code.

Deprecated module "sys" is replace with "util".

I could not find a way to implement:

levels.forEach(level => {
    this.prototype[level] = function() {
        ... // more code here
    }
})

in typescript so I used Object.assign in the constrcutor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant