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 Timer committed Oct 24, 2018
1 parent 06138db commit 52faf46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 52faf46

Please sign in to comment.