@elgato/streamdeck
Version:
The official Node.js SDK for creating Stream Deck plugins.
16 lines (15 loc) • 446 B
TypeScript
import type { PluginEvent } from "../../api/index.js";
/**
* Provides information for events received from Stream Deck.
*/
export declare class Event<T extends PluginEvent> {
/**
* Event that occurred.
*/
readonly type: T["event"];
/**
* Initializes a new instance of the {@link Event} class.
* @param source Source of the event, i.e. the original message from Stream Deck.
*/
constructor(source: T);
}