mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
* [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
16 lines
471 B
TypeScript
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;
|
|
}
|