removing unused imports, creating a file for global decelaration
This commit is contained in:
12
src/global.d.ts
vendored
Normal file
12
src/global.d.ts
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import React from 'react';
|
||||
|
||||
declare global {
|
||||
namespace JSX {
|
||||
interface Element extends React.ReactElement<any, any> {}
|
||||
}
|
||||
|
||||
interface Window {
|
||||
google: typeof google;
|
||||
}
|
||||
const google: any;
|
||||
}
|
||||
Reference in New Issue
Block a user