mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Updating React.HTMLAttributes used by Enzyme to new React.AllHTMLAttributes interface introduced in @types/react-15.0.38 (#18269)
This commit is contained in:
parent
3f0193af10
commit
3f1a9ccec0
2
types/enzyme/index.d.ts
vendored
2
types/enzyme/index.d.ts
vendored
@ -10,7 +10,7 @@
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
/// <reference types="cheerio" />
|
||||
import { ReactElement, Component, HTMLAttributes as ReactHTMLAttributes, SVGAttributes as ReactSVGAttributes } from "react";
|
||||
import { ReactElement, Component, AllHTMLAttributes as ReactHTMLAttributes, SVGAttributes as ReactSVGAttributes } from "react";
|
||||
|
||||
export type HTMLAttributes = ReactHTMLAttributes<{}> & ReactSVGAttributes<{}>;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user