Skip to content

Commit

Permalink
Merge pull request #886 from finos/react-typings-2
Browse files Browse the repository at this point in the history
Fixed React types.
  • Loading branch information
texodus authored Jan 29, 2020
2 parents c1eb3f7 + 28a8113 commit 3d2afcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/perspective-viewer/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ interface PerspectiveViewerHTMLAttributes extends Pick<PerspectiveViewerOptions,

interface ReactPerspectiveViewerHTMLAttributes<T> extends PerspectiveViewerHTMLAttributes, React.HTMLAttributes<T> {}

type PerspectiveElement = React.DetailedHTMLProps<ReactPerspectiveViewerHTMLAttributes<HTMLPerspectiveViewerElement>, HTMLPerspectiveViewerElement>;
type PerspectiveElement = {class?: string} & React.DetailedHTMLProps<ReactPerspectiveViewerHTMLAttributes<HTMLPerspectiveViewerElement>, HTMLPerspectiveViewerElement>;

declare global {
namespace JSX {
Expand Down

0 comments on commit 3d2afcd

Please sign in to comment.