Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

388 B
Raw Blame
import type * as React from "react";

declare module "react" {
  // to make forwardRef work with generic function components
  // eslint-disable-next-line typescript-js/no-empty-object-type -- generic default
  function forwardRef<T, P = {}>(
    render: (props: P, ref: React.Ref<T>) => React.ReactElement | null,
  ): (props: P & React.RefAttributes<T>) => React.ReactElement | null;
}