Javascript-obfuscator: TypeScript support is broken

Created on 31 Jul 2018  路  5Comments  路  Source: javascript-obfuscator/javascript-obfuscator

The interfaces/IObfuscationResult type seems to no longer exist (instead it looks like it has been replaced with interfaces/source-code/IObfuscatedCode ).

This means you are unable to use the getObfuscatedCode() method on the result of obfuscate().

Here are some screenshots to demonstrate the issue:

screen shot 2018-07-31 at 1 57 16 pm
screen shot 2018-07-31 at 1 57 07 pm
screen shot 2018-07-31 at 1 56 55 pm

bug fixed waiting for release

All 5 comments

I've submitted a PR that fixes this issue, and would love for it to be merged :)

Oh, thank you

Thanks for the quick fix!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

slig picture slig  路  8Comments

BlackYuzia picture BlackYuzia  路  6Comments

invertedvisuals picture invertedvisuals  路  3Comments

qingweiqm picture qingweiqm  路  7Comments

elderapo picture elderapo  路  3Comments