Skip to content

iconify-cli / getTemplateFileExtension

Function: getTemplateFileExtension()

getTemplateFileExtension(templateName): string

Defined in: src/lib/template.ts:93

Retrieves the file extension for the specified template name.

Parameters

templateName

The name of the template whose file extension is needed.

"raw" | "svg" | "raw-ts" | "vue"

Returns

string

The file extension associated with the given template name.