Files
test/_node_modules/zeptomatch/dist/utils.d.ts
2026-02-20 16:06:40 +09:00

7 lines
469 B
TypeScript

import type { Options } from './types.js';
declare const identity: <T>(value: T) => T;
declare const isString: (value: unknown) => value is string;
declare const memoizeByObject: <T>(fn: (globs: string[], options?: Options) => T) => (globs: string[], options?: Options) => T;
declare const memoizeByPrimitive: <T>(fn: (glob: string, options?: Options) => T) => (glob: string, options?: Options) => T;
export { identity, isString, memoizeByObject, memoizeByPrimitive };