UNPKG

@elgato/streamdeck

Version:

The official Node.js SDK for creating Stream Deck plugins.

10 lines (9 loc) 571 B
import { Version } from "./common/version"; /** * Validates the {@link streamDeckVersion} and manifest's `Software.MinimumVersion` are at least the {@link minimumVersion}; when the version is not fulfilled, an error is thrown with the * {@link feature} formatted into the message. * @param minimumVersion Minimum required version. * @param streamDeckVersion Actual application version. * @param feature Feature that requires the version. */ export declare function requiresVersion(minimumVersion: number, streamDeckVersion: Version, feature: string): never | void;