Update react-app.d.ts

This commit is contained in:
Bruno Lemos
2018-10-24 16:32:10 -03:00
parent 4d148aab10
commit cba92e2747

View File

@@ -1,6 +1,16 @@
// Do not edit this file. It's replaced every time you launch a toolbox action.
// If you need to add additional declarations, please do so in a new file.
declare namespace NodeJS {
interface Process {
env: {
[key: string]: string | undefined;
NODE_ENV: 'development' | 'production' | 'test';
PUBLIC_URL: string;
};
}
}
declare module '*.bmp' {
const src: string;
export default src;
@@ -27,7 +37,7 @@ declare module '*.png' {
}
declare module '*.svg' {
import React = require('react');
import * as React from 'react';
export const ReactComponent: React.SFC<React.SVGProps<SVGSVGElement>>;