chore: Adds missing jsdoc

This commit is contained in:
octod 2017-11-01 13:01:54 +01:00
parent 704b6231f5
commit 89aba2be0c

View file

@ -9,6 +9,12 @@ import { CHARSET } from "../../consts/files";
import { IPackageJSONThemeIcons } from "../../interfaces/ipackage.json";
import { IThemeIcons } from "../../interfaces/itheme-icons";
/**
* Replaces icon path with the accented one.
* @param {string} iconPath
* @param {string} accentName
* @returns {string}
*/
function replaceIconPathWithAccent(iconPath: string, accentName: string): string {
return iconPath.replace('.svg', `.accent.${ accentName }.svg`);
}