Skip to content

Commit

Permalink
Change import syntax from typescript declaration (facebook#5559)
Browse files Browse the repository at this point in the history
  • Loading branch information
brunolemos authored and nate770 committed Oct 30, 2018
1 parent 8bcf721 commit 625177d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-scripts/config/react-app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ declare module '*.png' {
}

declare module '*.svg' {
import React = require('react');
import * as React from 'react';

export const ReactComponent: React.SFC<React.SVGProps<SVGSVGElement>>;

Expand Down

0 comments on commit 625177d

Please sign in to comment.