0.0.15 • Published 6 months ago

@types/why-did-you-update v0.0.15

Weekly downloads
987
License
MIT
Repository
github
Last release
6 months ago

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.

0.0.13

8 months ago

0.0.14

7 months ago

0.0.15

6 months ago

0.0.12

3 years ago

0.0.11

4 years ago

0.0.10

5 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 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