mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-25 18:22:55 +00:00
* Update the Atom type definitions. * Atom: support additional dtslint rules. Minor fixes to definitions. * Atom: enable unified signatures for dtslint. * Atom: fix the scan and replace functions. Enable ban-types in dtslint. * Atom: enable no-declare-current-package and no-single-declare-module.
851 B
851 B
Event Kit Type Definitions
TypeScript type definitions for event-kit, which is published under the same name on NPM.
Usage Notes
Exports
The three classes exported from this module are: CompositeDisposable, Disposable, and Emitter.
import { CompositeDisposable, Disposable, Emitter } from "event-kit";
let subscriptions = new CompositeDisposable();
The EventKit Namespace
All types used by "event-kit" can be referenced from the EventKit namespace.
function example(disposable: EventKit.DisposableLike) {}