6 lines
186 B
TypeScript
6 lines
186 B
TypeScript
|
|
/**
|
||
|
|
* Return a simple hash code from a string.
|
||
|
|
* Source from: https://github.com/sindresorhus/fnv1a/blob/master/index.js#L25
|
||
|
|
*/
|
||
|
|
export declare function hashcode(str: string): number;
|