Convert signal.js and preload.js to Typescript
This commit is contained in:
parent
e18510e41c
commit
2464e0a9c1
94 changed files with 2113 additions and 1848 deletions
|
@ -74,9 +74,7 @@ export type ElectronLocaleType =
|
|||
| 'zh_CN'
|
||||
| 'zh_TW';
|
||||
|
||||
export function mapToSupportLocale(
|
||||
ourLocale: ElectronLocaleType
|
||||
): SupportLocaleType {
|
||||
export function mapToSupportLocale(ourLocale: string): SupportLocaleType {
|
||||
if (ourLocale === 'ar') {
|
||||
return ourLocale;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue