chore: find replace?

This commit is contained in:
Vlad Frangu
2025-07-23 00:21:44 +03:00
parent 5cd2511798
commit 0785436e2f

View File

@@ -110,7 +110,7 @@ function handleObject(object: ObjectLiteralExpression, interfaceToAddTo: Interfa
returnType: methodReturnType,
leadingTrivia:
methodDocs
.map((doc) => doc.getText())
.map((doc) => doc.getText().replaceAll('Routes.', `${RoutesInterfaceName}.`))
.join('\n')
.replaceAll('\t', '') + '\n',
});
@@ -130,7 +130,7 @@ function handleObject(object: ObjectLiteralExpression, interfaceToAddTo: Interfa
leadingTrivia:
overload
.getJsDocs()
.map((doc) => doc.getText())
.map((doc) => doc.getText().replaceAll('Routes.', `${RoutesInterfaceName}.`))
.join('\n')
.replaceAll('\t', '') + '\n',
});