Skip to content

Commit 625177d

Browse files
brunolemosnate770
authored andcommittedOct 30, 2018
Change import syntax from typescript declaration (facebook#5559)
1 parent 8bcf721 commit 625177d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/react-scripts/config/react-app.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ declare module '*.png' {
2828
}
2929

3030
declare module '*.svg' {
31-
import React = require('react');
31+
import * as React from 'react';
3232

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

0 commit comments

Comments
 (0)
Please sign in to comment.