UNPKG

@openinc/parse-server-opendash

Version:
13 lines (12 loc) 546 B
import { FunctionKeys, NotificationInterface } from ".."; /** * */ export declare class RegisteredNotification implements NotificationInterface { key: string; label: string; description: string; constructor(key: string, label: string, description: string); get<T extends Exclude<keyof RegisteredNotification, FunctionKeys<RegisteredNotification>>>(attribute: T): (typeof this)[T]; set<T extends Exclude<keyof RegisteredNotification, FunctionKeys<RegisteredNotification>>>(attribute: T, value: (typeof this)[T]): this; }