Skip to content

Commit 5afa7fd

Browse files
authored
Merge pull request javascript-obfuscator#304 from tyronedougherty/master
Correct the ObfuscationResult type
2 parents 348cd78 + 1d27b2d commit 5afa7fd

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

dist/index.browser.js

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.cli.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { TInputOptions } from './src/types/options/TInputOptions';
22

3-
import { IObfuscationResult } from './src/interfaces/IObfuscationResult';
3+
import { IObfuscatedCode } from './src/interfaces/source-code/IObfuscatedCode';
44

55
export type ObfuscatorOptions = TInputOptions;
66

7-
export interface ObfuscationResult extends IObfuscationResult {}
7+
export interface ObfuscationResult extends IObfuscatedCode {}
88

99
export function obfuscate (sourceCode: string, inputOptions?: ObfuscatorOptions): ObfuscationResult;

0 commit comments

Comments
 (0)