azure-devops-ui
Version:
React components for building web UI in Azure DevOps
19 lines (18 loc) • 442 B
TypeScript
/**
* Generates a unique id in the global scope (this spans across duplicate copies of the same library.)
*
* @public
*/
export declare function getId(prefix?: string): string;
/**
* Resets id counter to an (optional) number.
*
* @public
*/
export declare function resetIds(counter?: number): void;
/**
* Compares a to b and b to a.
*
* @public
*/
export declare function shallowCompare<T>(a: T, b: T): boolean;