mirror of
https://github.com/jakejarvis/dark-mode.git
synced 2025-09-11 08:28:47 -04:00
clean up type defs, update example HTML
This commit is contained in:
6
src/index.d.ts
vendored
6
src/index.d.ts
vendored
@@ -1,8 +1,6 @@
|
||||
interface DarkModeOptions {
|
||||
export function init(options?: {
|
||||
toggle?: HTMLElement;
|
||||
classes?: { dark: string, light: string };
|
||||
default?: string;
|
||||
storageKey?: string;
|
||||
}
|
||||
|
||||
export function init(options?: DarkModeOptions): void;
|
||||
}): void;
|
||||
|
Reference in New Issue
Block a user