summaryrefslogtreecommitdiffstats
path: root/src/DocGen/CGen.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/DocGen/CGen.ts')
-rw-r--r--src/DocGen/CGen.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DocGen/CGen.ts b/src/DocGen/CGen.ts
index e333014..d6c45cf 100644
--- a/src/DocGen/CGen.ts
+++ b/src/DocGen/CGen.ts
@@ -27,21 +27,21 @@ export default class CGen implements IDocGen {
/**
* @param {TextEditor} actEdit Active editor window
* @param {Position} cursorPosition Where the cursor of the user currently is
- * @param {string[]} param The parameter names of the method extracted by the parser
+ * @param {string[]} params The parameter names of the method extracted by the parser
* @param {string[]} tparam The template parameter names of the method extracted by the parser.
* @param {string[]} returnVals The return values extracted by the parser
*/
public constructor(
actEdit: TextEditor,
cursorPosition: Position,
- param: string[],
+ params: string[],
tparam: string[],
returnVals: string[],
) {
this.activeEditor = actEdit;
this.templateParamReplace = "{param}";
this.templateTypeReplace = "{type}";
- this.params = param;
+ this.params = params;
this.tparams = tparam;
this.retVals = returnVals;
}