@types/tsscmp
Version:
TypeScript definitions for tsscmp
24 lines (17 loc) • 744 B
Markdown
# Installation
> `npm install --save @types/tsscmp`
# Summary
This package contains type definitions for tsscmp (https://github.com/suryagh/tsscmp#readme).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tsscmp.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tsscmp/index.d.ts)
````ts
export = timeSafeCompare;
declare function timeSafeCompare(a: number, b: number): boolean;
declare function timeSafeCompare(a: string, b: string): boolean;
````
### Additional Details
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT
* Dependencies: none
# Credits
These definitions were written by [Gareth Jones](https://github.com/g-rath).