Skip to content

Instantly share code, notes, and snippets.

Avatar

Vojtěch Habarta vojtechhabarta

View GitHub Profile
@vojtechhabarta
vojtechhabarta / react-native.d.ts
Last active Sep 25, 2015 — forked from Pajn/react-native.d.ts
Incomplete react-native.d.ts, requires react.d.ts from DefinitelyTyped
View react-native.d.ts
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.