UNPKG

@googlemaps/jest-mocks

Version:

[![npm](https://img.shields.io/npm/v/@googlemaps/jest-mocks)][npm-pkg] ![Release](https://github.com/googlemaps/js-jest-mocks/workflows/Release/badge.svg) ![Stable](https://img.shields.io/badge/stability-stable-green) [![Tests/Build](https://github.com/go

32 lines (31 loc) 1.5 kB
/** * Copyright 2022 Google LLC. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { MVCObject } from "../../maps/event/mvcobject"; import { Map_ } from "../../maps/maps/map"; export declare class Rectangle extends MVCObject implements google.maps.Rectangle { constructor(opt?: google.maps.RectangleOptions); getBounds: jest.Mock<any, [], any>; getDraggable: jest.Mock<boolean, [], any>; getEditable: jest.Mock<boolean, [], any>; getMap: jest.Mock<Map_, [], any>; getVisible: jest.Mock<boolean, [], any>; setBounds: jest.Mock<void, [bounds: google.maps.LatLngBounds | google.maps.LatLngBoundsLiteral], any>; setDraggable: jest.Mock<void, [draggable: boolean], any>; setEditable: jest.Mock<void, [editable: boolean], any>; setMap: jest.Mock<void, [map: google.maps.Map], any>; setOptions: jest.Mock<void, [options: google.maps.RectangleOptions], any>; setVisible: jest.Mock<void, [visible: boolean], any>; }