@konami-emoji-blast/astro
Version:
Hooks up konami-code-js to trigger emoji-blast in Astro. 🎇
13 lines (12 loc) • 616 B
TypeScript
import { AstroIntegration } from "astro";
import { KonamiEmojiBlastOptions } from "konami-emoji-blast";
type KonamiEmojiBlastSettings = NonNullable<KonamiEmojiBlastOptions["emojiBlastSettings"]>;
type Serializable<Object extends Record<string, unknown>> = {
[Key in keyof Object]: Exclude<Object[Key], (...args: never[]) => void>;
};
/**
* Serializable options for astro integration
*/
type AstroKonamiEmojiBlastPluginOptions = Serializable<Pick<KonamiEmojiBlastSettings, "emojis">>;
export declare function konamiEmojiBlast(options?: Partial<AstroKonamiEmojiBlastPluginOptions>): AstroIntegration;
export {};