@types/lodash-match-pattern
TypeScript icon, indicating that this package has built-in type declarations

2.3.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/lodash-match-pattern

Weekly Downloads

4,061

Version

2.3.3

License

MIT

Unpacked Size

4.5 kB

Total Files

5

Last publish

Collaborators

  • types