We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4ed967 commit 0dd8feaCopy full SHA for 0dd8fea
1 file changed
src/stringValidator.ts
@@ -12,7 +12,7 @@ const stringValidator = (param: any): any => {
12
13
// Handle strings - convert to template literals
14
if (typeof param === 'string') {
15
- return `\"${param}\"`;
+ return JSON.stringify(param);
16
}
17
18
// Handle arrays - process each element
0 commit comments