UNPKG

web-vitals

Version:

Easily measure performance metrics in JavaScript

7 lines (6 loc) 283 B
/** * A function that accepts and identity object and a class object and returns * either a new instance of that class or an existing instance, if the * identity object was previously used. */ export declare function initUnique<T>(identityObj: object, ClassObj: new () => T): T;