chore: Adds missing jsdoc
This commit is contained in:
parent
704b6231f5
commit
89aba2be0c
1 changed files with 6 additions and 0 deletions
|
@ -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`);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue