review app

This commit is contained in:
IDONTSUDO 2023-12-03 16:16:08 +03:00
parent 4a35a3211f
commit f525a76f6e
38 changed files with 268 additions and 229 deletions

View file

@ -16,16 +16,4 @@ export const StringExtensions = () => {
return this[this.length - 1];
};
}
if ("".fixToPath === undefined) {
// eslint-disable-next-line no-extend-native
String.prototype.fixToPath = function () {
// eslint-disable-next-line @typescript-eslint/no-this-alias
let result = this;
const symbolPath = "/";
if (this.lastElement != symbolPath) {
result = result.slice(0, -1);
}
return result;
};
}
};