mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2026-10-15 15:17:29 +00:00
refactor(utils): remove type annotation from getPath function
This commit is contained in:
+1
-1
@@ -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}`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user