0.0.10 • Published 6 months ago

@types/json-merge-patch v0.0.10

Weekly downloads
8,602
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/json-merge-patch

Summary

This package contains type definitions for json-merge-patch (https://github.com/pierreinglebert/json-merge-patch).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json-merge-patch.

index.d.ts

// Type definitions for json-merge-patch
// Project: https://github.com/pierreinglebert/json-merge-patch
// Definitions by: Jimmy Leung <https://github.com/jimmy-leung-coherent>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

declare module "json-merge-patch" {
    function apply(target: any, patch: null): null;
    function apply<U>(target: any, patch: U): U;
    function apply<T>(target: T, patch: T): T;

    function generate(before: any, after: null): null;
    function generate<U>(before: any, after: U): U | undefined;
    function generate<T>(before: T, after: T): T | undefined;

    function merge(patch1: any, patch2: null): null;
    function merge<T>(patch1: T, patch2: T): T;
}

Additional Details

  • Last updated: Sat, 08 Jan 2022 01:01:35 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Jimmy Leung.

0.0.10

6 months ago

0.0.9

7 months ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

4 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago