@r4lrgx/gitmoji
Version:
🧱 My customized Gitmoji Config - a fork of https://github.com/arvinxx/gitmoji-commit-workflow - just with several bug fixes and a cleaner look.
13 lines (10 loc) • 526 B
TypeScript
import { Config } from '../types/index.js';
import '../../commit-types/types/index.js';
/**
* Maps a commit scope to its display name using custom mappings
* @param {string} scope - The original scope from the commit
* @param {Config['customScopeMap']} customScopeMap - Custom scope mapping configuration
* @returns {string} The mapped display name or original scope if no mapping exists
*/
declare const displayScopeMap: (scope: string, customScopeMap: Config["customScopeMap"]) => string;
export { displayScopeMap };