mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 00:18:20 +08:00
Fix murmurhash-js direct import (#12223)
This commit is contained in:
committed by
Masahiro Wakame
parent
2de474ed6c
commit
35bbd73130
9
murmurhash-js/index.d.ts
vendored
9
murmurhash-js/index.d.ts
vendored
@@ -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