浏览代码

Updated .d.ts file

sanex3339 5 年之前
父节点
当前提交
1ebf78913d
共有 1 个文件被更改,包括 11 次插入1 次删除
  1. 11 1
      index.d.ts

+ 11 - 1
index.d.ts

@@ -6,4 +6,14 @@ export type ObfuscatorOptions = TInputOptions;
 
 export interface ObfuscatedCode extends IObfuscatedCode {}
 
-export function obfuscate (sourceCode: string, inputOptions?: ObfuscatorOptions): ObfuscatedCode;
+/**
+ * @param {string} sourceCode
+ * @param {ObfuscatorOptions} inputOptions
+ * @returns {ObfuscatedCode}
+ */
+export function obfuscate (sourceCode: string, inputOptions?: ObfuscatorOptions): ObfuscatedCode;
+
+/**
+ * @type {string | undefined}
+ */
+export const version: string;