Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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)

AltStyle によって変換されたページ (->オリジナル) /