UNPKG

239 BTypeScriptView Raw
1/**
2 * Memoizes the return value of a function that accepts one string argument.
3 */
4declare function memoizeStringOnly<T>(callback: (s: string) => T): (s: string) => T;
5
6declare namespace memoizeStringOnly {}
7
8export = memoizeStringOnly;