DefinitelyTyped/types/event-kit
Glen M ea4008d4e8 Add definitions for atom-mocha-test-runner. (#20380)
* Add definitions for atom-mocha-test-runner.

* Remove the editorconfig.

* Atom: remove editorconfigs, linebreak-style, and all lint disables.
2017-10-09 15:43:18 -07:00
..
v1 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
event-kit-tests.ts Add definitions for atom-mocha-test-runner. (#20380) 2017-10-09 15:43:18 -07:00
index.d.ts Add definitions for atom-mocha-test-runner. (#20380) 2017-10-09 15:43:18 -07:00
README.md
tsconfig.json Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
tslint.json Add definitions for atom-mocha-test-runner. (#20380) 2017-10-09 15:43:18 -07:00

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) {}