Fix nested types

Co-authored-by: FlorianWoelki <FlorianWoelki@gmx.de>
This commit is contained in:
Sidharth Vinod 2022-08-25 11:58:43 +05:30
parent 5996e1e69d
commit 2f7930efb7
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ export const parseGenericTypes = function (text) {
if (text.indexOf('~') != -1) {
cleanedText = cleanedText.replace(/~([^~].*)/, '<$1');
cleanedText = cleanedText.replace(/~([^~]*)$/, '$1>');
cleanedText = cleanedText.replace(/~([^~]*)$/, '>$1');
return parseGenericTypes(cleanedText);
} else {