Completely updated React, fixed #11, (hopefully)

This commit is contained in:
2018-03-04 19:11:49 -05:00
parent 6e0afd6e2a
commit 34e5f5139a
13674 changed files with 333464 additions and 473223 deletions

View File

@@ -1,7 +1,7 @@
export function capitalizeFirstLetter(str: string): string;
export function contains(obj: Object, pred: Object): boolean;
export function capitalize(str: string): string;
export function contains<O1 extends O2, O2>(obj: O1, pred: O2): boolean;
export function findIndex(arr: any[], pred: any): number;
export function find<T>(arr: T[], pred: any): T;
export function createChainedFunction(
...funcs: Function[]
): (...args: any[]) => never;
export function createChainedFunction(...funcs: ChainedFunction[]): (...args: any[]) => never;
type ChainedFunction = ((...args: any[]) => void) | undefined | null;