Installation
npm install --save @types/lodash-match-pattern
Summary
This package contains type definitions for lodash-match-pattern (https://github.com/mjhm/lodash-match-pattern#readme).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash-match-pattern.
index.d.ts
import * as _ from "lodash";
declare module "lodash" {
interface LoDashStatic {
isDateString(s: any): boolean;
isSize(s: any, n: any): boolean;
isOmitted: any;
isDefined(s: any): boolean;
isPrinted(s: any, label: any): boolean;
filterPattern(s: any, pattern: any): any;
setMemo(s: any, key: any): any;
isSetAsMemo(s: any, key: any): boolean;
getMemoHash(): {};
isEqualToMemo(s: any, key: any): any;
isNotEqualToMemo(s: any, key: any): boolean;
clearMemos(s: any): any;
extractUrls(s: any): any;
}
}
declare function matchPattern(sourceData: any, targetPattern: object | string): string | null;
declare namespace matchPattern {
function use(newLodashModule: _.LoDashStatic): void;
function getLodashModule(): _.LoDashStatic;
}
export = matchPattern;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:38 GMT
- Dependencies: @types/lodash
Credits
These definitions were written by Daniel Kneip.