Remove @ts-ignores.

Co-authored-by: Yash Singh <saiansh2525@gmail.com>
This commit is contained in:
Sidharth Vinod
2022-08-25 21:53:36 +05:30
parent 84148d4891
commit a3dfc4c0e8
8 changed files with 32 additions and 18 deletions

View File

@@ -147,7 +147,7 @@ export const evaluate = (val: string | boolean): boolean =>
export const parseGenericTypes = function (text: string): string {
let cleanedText = text;
if (text.indexOf('~') != -1) {
if (text.indexOf('~') !== -1) {
cleanedText = cleanedText.replace('~', '<');
cleanedText = cleanedText.replace('~', '>');