@types/riotcontrol
TypeScript icon, indicating that this package has built-in type declarations

0.0.30 • Public • Published

Installation

npm install --save @types/riotcontrol

Summary

This package contains type definitions for riotcontrol (https://github.com/jimsparkman/RiotControl).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/riotcontrol.

index.d.ts

export = RiotControl;
export as namespace RiotControl;

declare namespace RiotControl {
    interface Store {
        on(events: string, fn: Function): Store;
        one(name: string, fn: Function): Store;
        off(events: string, fn?: Function): Store;
        trigger(name: string, ...args: any[]): Store;
    }

    var _stores: Store[];

    function addStore(store: Store): void;

    function on(events: string, fn: Function): void;
    function one(name: string, fn: Function): void;
    function off(events: string, fn?: Function): void;
    function trigger(name: string, ...args: any[]): void;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Ilya Mochalov.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/riotcontrol

Weekly Downloads

3

Version

0.0.30

License

MIT

Unpacked Size

3.78 kB

Total Files

5

Last publish

Collaborators

  • types