histoire
Version:
A fast story book powered by Vite
20 lines (16 loc) • 494 B
TypeScript
/**
* @deprecated
*/
export function hstEvent(name: string, argument): void
/**
* Logs an event to the 'Events' sidepane.
* @param name Event name
* @param argument Additional log data displayed when inspecting the event.
*/
export function logEvent(name: string, argument): void
/**
* Returns `true` when in the NodeJS server while collecting stories.
*/
export function isCollecting(): boolean
export function toggleDark(value?: boolean): boolean
export function isDark(): boolean