mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 14:27:04 +00:00
make onViewportChange optional
This commit is contained in:
Vendored
+1
-1
@@ -301,7 +301,7 @@ export class Popup extends BaseControl<PopupProps> {}
|
||||
export interface NavigationControlProps extends BaseControlProps {
|
||||
className?: string;
|
||||
onViewStateChange?: (info: ViewStateChangeInfo) => void;
|
||||
onViewportChange: (viewport: ViewState) => void;
|
||||
onViewportChange?: (viewport: ViewState) => void;
|
||||
showCompass?: boolean;
|
||||
showZoom?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user