We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d3c757 commit fbe198dCopy full SHA for fbe198d
packages/cli/src/utils/validatorUtils.ts
@@ -40,7 +40,7 @@ export function getParameterValidators(parameter: ts.ParameterDeclaration, param
40
41
const name = tag.tagName.text;
42
const comment = commentToString(tag.comment)
43
- ?.substr((commentToString(tag.comment)?.indexOf(' ') || -1) + 1)
+ ?.substring((commentToString(tag.comment)?.indexOf(' ') || -1) + 1)
44
.trim();
45
const value = getCommentValue(comment);
46
0 commit comments