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

0.0.15 • 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

/// <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: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: @types/react

Credits

These definitions were written by rhysd.

Readme

Keywords

none

Package Sidebar

Install

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

Weekly Downloads

12,659

Version

0.0.15

License

MIT

Unpacked Size

4.07 kB

Total Files

5

Last publish

Collaborators

  • types