UNPKG

traffic-traversal

Version:

Calculate the weights between each vertex node and help you find the fastest route.

7 lines (6 loc) 211 B
export declare function useHashmap<T>(): { set: (key: string, data: T) => T; has: (key: string) => boolean; get: (key: string) => T | undefined; ensure: (key: string, callback: () => T) => T; };