JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 157984
  • Score
    100M100P100Q157620F
  • License MIT

TypeScript definitions for extend

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/extend) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Installation

    npm install --save @types/extend

    Summary

    This package contains type definitions for extend (https://github.com/justmoon/node-extend).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/extend.

    index.d.ts

    declare function extend<T, U>(deep: boolean, target: T, source: U): T & U;
    declare function extend<T, U, V>(deep: boolean, target: T, source1: U, source2: V): T & U & V;
    declare function extend<T, U, V, W>(deep: boolean, target: T, source1: U, source2: V, source3: W): T & U & V & W;
    declare function extend<T, U, V, W, X>(
        deep: boolean,
        target: T,
        source1: U,
        source2: V,
        source3: W,
        source4: X,
    ): T & U & V & W & X;
    declare function extend<T, U>(target: T, source: U): T & U;
    declare function extend<T, U, V>(target: T, source1: U, source2: V): T & U & V;
    declare function extend<T, U, V, W>(target: T, source1: U, source2: V, source3: W): T & U & V & W;
    declare function extend<T, U, V, W, X>(target: T, source1: U, source2: V, source3: W, source4: X): T & U & V & W & X;
    declare function extend(deep: boolean, target: any, ...sources: any[]): any;
    declare function extend(target: any, ...sources: any[]): any;
    declare namespace extend {}
    export = extend;
    

    Additional Details

    • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
    • Dependencies: none

    Credits

    These definitions were written by Stefan Steinhart.