File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed
browser/ambient/javascript-obfuscator
main/ambient/javascript-obfuscator Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change 1+ // Generated by typings
2+ // Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/javascript-obfuscator/javascript-obfuscator.d.ts
13// Type definitions for javascript-obfuscator
24// Project: https://github.com/sanex3339/javascript-obfuscator
35// Definitions by: sanex3339 <https://github.com/sanex3339>
46// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
57
68declare module 'javascript-obfuscator' {
9+ export interface IOptions {
10+ compact ?: boolean ;
11+ debugProtection ?: boolean ;
12+ debugProtectionInterval ?: boolean ;
13+ disableConsoleOutput ?: boolean ;
14+ encodeUnicodeLiterals ?: boolean ;
15+ rotateUnicodeArray ?: boolean ;
16+ unicodeArray ?: boolean ;
17+ wrapUnicodeArrayCalls ?: boolean ;
18+ [ id : string ] : any ;
19+ }
20+
721 export class JavaScriptObfuscator {
8- public static obfuscate ( sourceCode : string , customOptions ?: any ) : string ;
22+ public static obfuscate ( sourceCode : string , customOptions ?: IOptions ) : string ;
923 }
1024}
Original file line number Diff line number Diff line change 1+ // Generated by typings
2+ // Source: https://raw.githubusercontent.com/DefinitelyTyped/DefinitelyTyped/master/javascript-obfuscator/javascript-obfuscator.d.ts
13// Type definitions for javascript-obfuscator
24// Project: https://github.com/sanex3339/javascript-obfuscator
35// Definitions by: sanex3339 <https://github.com/sanex3339>
46// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
57
68declare module 'javascript-obfuscator' {
9+ export interface IOptions {
10+ compact ?: boolean ;
11+ debugProtection ?: boolean ;
12+ debugProtectionInterval ?: boolean ;
13+ disableConsoleOutput ?: boolean ;
14+ encodeUnicodeLiterals ?: boolean ;
15+ rotateUnicodeArray ?: boolean ;
16+ unicodeArray ?: boolean ;
17+ wrapUnicodeArrayCalls ?: boolean ;
18+ [ id : string ] : any ;
19+ }
20+
721 export class JavaScriptObfuscator {
8- public static obfuscate ( sourceCode : string , customOptions ?: any ) : string ;
22+ public static obfuscate ( sourceCode : string , customOptions ?: IOptions ) : string ;
923 }
1024}
You can’t perform that action at this time.
0 commit comments