pack: add prettier and reformat all codes

This commit is contained in:
leejooy96 committed 2022-10-18 14:59:20 +09:00
1 parent 251394391a
commit 5d8a3672bb
23 files changed
+1044 -2040

No files matched your search

+2 -2
View File
@@ -1,11 +1,11 @@
import { shell } from 'electron'
export default class Utils {
static getCurrentLocale () : string {
static getCurrentLocale(): string {
return navigator?.language?.split('-')[0] || 'en'
}
static async openExternal (url: string) : Promise<void> {
static async openExternal(url: string): Promise<void> {
await shell.openExternal(url)
}
}