Skip to content

Commit 52faf46

Browse files
brunolemosTimer
authored andcommitted
Change import syntax from typescript declaration (facebook#5559)
1 parent 06138db commit 52faf46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)