mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 11:21:46 +00:00
feat: migration to TypeScript FINAL
Co-authored-by: Su-Yong <simssy2205@gmail.com>
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
import config from '../../config';
|
||||
import type { ConfigType } from '../../config/dynamic';
|
||||
|
||||
const SkipSilencesOptionsObj = config.get('plugins.skip-silences');
|
||||
type SkipSilencesOptions = typeof SkipSilencesOptionsObj;
|
||||
type SkipSilencesOptions = ConfigType<'skip-silences'>;
|
||||
|
||||
export default (options: SkipSilencesOptions) => {
|
||||
let isSilent = false;
|
||||
|
||||
Reference in New Issue
Block a user