TS4025

Exported variable 'App' has or is using private name 'FC'.

Broken Code ❌

import React from 'react';
 
const App: FC = (): JSX.Element => {
  return <></>;
};

Fixed Code ✔️

When using an external type (like FC) you also have to make sure that it is imported:

import React, { FC } from 'react';
 
const App: FC = (): JSX.Element => {
  return <></>;
};