UNPKG

@twitchfy/chatbot

Version:

A powerful node module to make your own Twitch ChatBot

20 lines (19 loc) 520 B
import type { OptionOptions } from '../interfaces'; /** * Represents a string option. */ export declare class StringOption<T extends string | null = null> { /** * The type of the option. It's always string. */ readonly type = "string"; /** * The default value of the option. */ readonly defaultValue: T | null; /** * Creates a new instance of the string option. * @param options The options of the string option. */ constructor(options?: OptionOptions<T>); }