Skip to content

Commit 2f1e221

Browse files
author
Alfred Lau
committed
more type def
1 parent 806887e commit 2f1e221

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,15 @@ export class Circle extends React.Component<any, any> {
114114

115115
export interface IInfoWindowProps extends Partial<google.maps.InfoWindowOptions> {
116116
google: typeof google
117-
map: google.maps.Map
117+
map?: google.maps.Map
118118
marker?: google.maps.Marker
119119

120120
position?: google.maps.LatLng | google.maps.LatLngLiteral
121121
visible?: boolean
122122

123123
children: React.ReactNode
124-
onClose(): void
125-
onOpen(): void
124+
onClose()?: void
125+
onOpen()?: void
126126

127127
}
128128

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy