Files
DefinitelyTyped/types/why-did-you-update/index.d.ts
Forbes Lindesay 8f8f6c4392 [react] Use HTMLDialogElement for the dialog node (#23053)
* [react] Use HTMLDialogElement for the dialog node

* Actually add the `open` property

* This update requires typescript 2.6

* Update dependents of react to also require typescript 2.6
2018-02-12 12:55:52 +00:00

16 lines
471 B
TypeScript

// 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.6
/// <reference types="react" />
declare module "why-did-you-update" {
interface Options {
include?: RegExp;
exclude?: RegExp;
}
export function whyDidYouUpdate(react: typeof React, options?: Options): void;
}