mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Fix murmurhash-js direct import (#12223)
This commit is contained in:
committed by
Masahiro Wakame
parent
2de474ed6c
commit
35bbd73130
Vendored
+5
-4
@@ -3,11 +3,12 @@
|
||||
// Definitions by: Chi Vinh Le <https://github.com/cvle>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
type MurmurFunc = (str: string, seed?: number) => number;
|
||||
import * as murmur2 from "./murmurhash2_gc";
|
||||
import * as murmur3 from "./murmurhash3_gc";
|
||||
|
||||
declare const murmur: MurmurFunc & {
|
||||
murmur3: MurmurFunc;
|
||||
murmur2: MurmurFunc;
|
||||
declare const murmur: typeof murmur3 & {
|
||||
murmur3: typeof murmur3;
|
||||
murmur2: typeof murmur2;
|
||||
};
|
||||
|
||||
export = murmur;
|
||||
|
||||
Reference in New Issue
Block a user