15.4.2 • Published 6 months ago
@types/react-addons-perf v15.4.2
Installation
npm install --save @types/react-addons-perf
Summary
This package contains type definitions for React (react-addons-perf) (http://facebook.github.io/react/).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-perf.
index.d.ts
// Type definitions for React (react-addons-perf) 15.4
// Project: http://facebook.github.io/react/
// Definitions by: Asana <https://asana.com>, AssureSign <http://www.assuresign.com>, Microsoft <https://microsoft.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = Perf;
interface ComponentPerfContext {
current: string;
owner: string;
}
interface NumericPerfContext {
[key: string]: number;
}
interface Measurements {
exclusive: NumericPerfContext;
inclusive: NumericPerfContext;
render: NumericPerfContext;
counts: NumericPerfContext;
writes: NumericPerfContext;
displayNames: {
[key: string]: ComponentPerfContext;
};
totalTime: number;
}
declare namespace Perf {
export function start(): void;
export function stop(): void;
export function printInclusive(measurements?: Measurements[]): void;
export function printExclusive(measurements?: Measurements[]): void;
export function printWasted(measurements?: Measurements[]): void;
export function printOperations(measurements?: Measurements[]): void;
export function getLastMeasurements(): Measurements[];
export function getExclusive(measurements?: Measurements[]): any;
export function getInclusive(measurements?: Measurements[]): any;
export function getWasted(measurements?: Measurements[]): any;
export function getOperations(measurements?: Measurements[]): any;
// Renamed to printOperations(). Please use it instead.
export function printDOM(measurements?: Measurements[]): void;
}
Additional Details
- Last updated: Sat, 13 Nov 2021 00:31:31 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Asana, AssureSign, and Microsoft.
15.4.1
7 months ago
15.4.2
6 months ago
15.4.0
2 years ago
0.14.18
7 years ago
0.14.17
8 years ago
0.14.16
8 years ago
0.14.15
8 years ago
0.14.14
8 years ago
0.14.13
8 years ago
0.14.12-alpha
8 years ago
0.14.11-alpha
8 years ago
0.14.10-alpha
8 years ago
0.14.9-alpha
8 years ago
0.14.8-alpha
8 years ago
0.14.7-alpha
8 years ago
0.14.2-alpha
8 years ago
0.14.1-alpha
8 years ago