Open sheam opened 6 years ago
I also want type definitions.
This would be great. @sheam Definitely would love to get types in.
+1
Seems like a pretty good and well-maintained project - but it's useless without type definitions.
@alamothe feel like adding some? I’m away from the keyboard, but can definitely review a PR if ya do.
At least some typings for GoogleApiWrapper
declare module 'google-maps-react' {
import google from '@types/googlemaps'
import { ComponentType } from 'react'
import { InferableComponentEnhancer } from 'react-redux'
interface Options {
apiKey: string
libraries?: string[]
version?: string
language?: string
url?: string
client?: any
LoadingContainer?: ComponentType<any>
}
export interface GoogleApiWrapperProps {
google: google;
}
type Connect = (options: Options) => InferableComponentEnhancer<GoogleApiWrapperProps>;
export declare const GoogleApiWrapper: Connect
}
Any chance of getting typescript definitions? I may have time to do them at some point...