React TypeScript Cheatsheet の Useful Patterns by Use Case の Wrapping/Mirroring に答えが書かれていました。 自分は function でなく const で作成することが多い(どっちが良いんですかね?)ので、以下のように書くのが良さそうです。 import React, { ComponentPropsWithoutRef, FC } from "react"; export type ButtonProps = ComponentPropsWithoutRef<"button"> & { specialProp?: string; }; const Button: FC<ButtonProps> = ({ specialProp, ...props }: ButtonProps) => { console.lo
![結局 React のコンポーネントにはどうやって型をつければ良いのさ - kk-web](https://cdn-ak-scissors.b.st-hatena.com/image/square/3f3b859f862ac51c89ee2b4be62af65de7ceb7d8/height=288;version=1;width=512/https%3A%2F%2Fkk-web.link%2Fkk-web_2.png)