mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
refactor(utils): remove type annotation from getPath function
This commit is contained in:
parent
f9ed3b4e39
commit
17dd98c78c
@ -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}`;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user