refactor(utils): remove type annotation from getPath function

This commit is contained in:
cfngc4594 2025-03-14 11:04:12 +08:00
parent f9ed3b4e39
commit 17dd98c78c

View File

@ -7,7 +7,7 @@ export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs))
}
export function getPath(lang: EditorLanguage): string {
export function getPath(lang: EditorLanguage) {
const config = LanguageServerConfig[lang];
return `file:///${config.lang.fileName}${config.lang.fileExtension}`;
}