diff --git a/packages/react-scripts/lib/react-app.d.ts b/packages/react-scripts/lib/react-app.d.ts index 6e264ffb293..e384accba5b 100644 --- a/packages/react-scripts/lib/react-app.d.ts +++ b/packages/react-scripts/lib/react-app.d.ts @@ -42,7 +42,7 @@ declare module '*.webp' { declare module '*.svg' { import * as React from 'react'; - export const ReactComponent: React.SFC>; + export const ReactComponent: React.FunctionComponent>; const src: string; export default src;