Skip to content

Instantly share code, notes, and snippets.

View vojtechhabarta's full-sized avatar

Vojtěch Habarta vojtechhabarta

View GitHub Profile
@vojtechhabarta
vojtechhabarta / react-native.d.ts
Last active September 25, 2015 06:59 — forked from Pajn/react-native.d.ts
Incomplete react-native.d.ts, requires react.d.ts from DefinitelyTyped
declare namespace __React {
/**
* Represents the completion of an asynchronous operation
* @see lib.es6.d.ts
*/
export interface Promise<T> {
/**
* Attaches callbacks for the resolution and/or rejection of the Promise.
* @param onfulfilled The callback to execute when the Promise is resolved.