以下のコードを記述するとエラーが発生
const Content = (props) => {
  return (
    <html>
      <head>
        <style>{styles}</style>
      </head>
      <body>
        <h1>{props.title}</h1>
      </body>
    </html>
  );
};
Operator '<' cannot be applied to types 'boolean' and 'RegExp'.
拡張子が.tsになっていることが原因だった。
ファイルの拡張子を tsx に変更する。