Nunjucks Powers Mozilla

    @types/why-did-you-update
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.12 • Public • Published

    Installation

    npm install --save @types/why-did-you-update

    Summary

    This package contains type definitions for why-did-you-update (https://github.com/garbles/why-did-you-update).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/why-did-you-update.

    index.d.ts

    // Type definitions for why-did-you-update v0.0.8
    // Project: https://github.com/garbles/why-did-you-update
    // Definitions by: rhysd <https://rhysd.github.io>
    // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
    // TypeScript Version: 2.8
    
    /// <reference types="react" />
    
    declare module "why-did-you-update" {
        interface Diffs {
            name: string;
            prev: any;
            next: any;
            type: any;
        }
        
        interface Options {
            include?: RegExp | undefined;
            exclude?: RegExp | undefined;
            groupByComment?: boolean | undefined;
            collapseComponentGroups?: boolean | undefined;
            notifier?: ((
                groupByComponent: boolean,
                collapseComponentGroups: boolean,
                displayName: string,
                diffs: Diffs[]
            ) => void) | undefined;
        }
        
        export function whyDidYouUpdate(react: typeof React, options?: Options): void;
    }

    Additional Details

    • Last updated: Fri, 02 Jul 2021 18:05:38 GMT
    • Dependencies: @types/react
    • Global values: none

    Credits

    These definitions were written by rhysd.

    Keywords

    none

    Install

    npm i @types/why-did-you-update

    DownloadsWeekly Downloads

    7,185

    Version

    0.0.12

    License

    MIT

    Unpacked Size

    4.52 kB

    Total Files

    4

    Last publish

    Collaborators

    • types