mirror of
https://github.com/meowarex/TidaLuna-Plugins.git
synced 2026-10-15 07:53:13 +11:00
AI Indicator <3
This commit is contained in:
1 parent
0f6c70017c
commit
edb5c06315
11 files changed
+196
-151
No files matched your search
@@ -210,7 +210,7 @@ export const Settings = () => {
|
||||
window.updateRadiantLyricsBackdrop?.();
|
||||
};
|
||||
|
||||
// Derive props and override onChange to accept a broader first param type
|
||||
// Loosen onChange's first param type
|
||||
type BaseSwitchProps = React.ComponentProps<typeof LunaSwitchSetting>;
|
||||
type AnySwitchProps = Omit<BaseSwitchProps, "onChange"> & {
|
||||
onChange: (_: unknown, checked: boolean) => void;
|
||||
|
||||
Reference in new issue
Block a user