mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-14 22:40:03 +08:00
* Add definitions for atom-mocha-test-runner. * Remove the editorconfig. * Atom: remove editorconfigs, linebreak-style, and all lint disables.
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) {}