From e888d9e716b43e456054f62c7f7aaca6575c3f5f Mon Sep 17 00:00:00 2001 From: Bruno Lemos Date: Wed, 24 Oct 2018 14:06:44 -0300 Subject: [PATCH] Change import syntax from typescript declaration --- packages/react-scripts/config/react-app.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-scripts/config/react-app.d.ts b/packages/react-scripts/config/react-app.d.ts index 7a8476fa3ce..0b912b56666 100644 --- a/packages/react-scripts/config/react-app.d.ts +++ b/packages/react-scripts/config/react-app.d.ts @@ -28,7 +28,7 @@ declare module '*.png' { } declare module '*.svg' { - import React = require('react'); + import * as React from 'react'; export const ReactComponent: React.SFC>;