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 number option. */ export declare class NumberOption<T extends number | null = null> { /** * The type of the option. It's always number. */ readonly type = "number"; /** * The default value of the option. */ readonly defaultValue: T | null; /** * Creates a new instance of the number option. * @param options The options of the number option. */ constructor(options?: OptionOptions<T>); }