mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 18:41:47 +00:00
feat: add support i18n (#1468)
This commit is contained in:
4
src/reset.d.ts
vendored
4
src/reset.d.ts
vendored
@ -5,6 +5,7 @@ import type is from 'electron-is';
|
||||
|
||||
import type config from './config';
|
||||
import type { VideoDataChanged } from '@/types/video-data-changed';
|
||||
import type { t } from '@/i18n';
|
||||
|
||||
declare global {
|
||||
interface Compressor {
|
||||
@ -30,6 +31,9 @@ declare global {
|
||||
download: () => void;
|
||||
togglePictureInPicture: () => void;
|
||||
reload: () => void;
|
||||
i18n: {
|
||||
t: typeof t,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user