angular-docs-cn/modules/@angular/platform-browser/test/browser/rectangle_mock.ts

14 lines
404 B
TypeScript

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
export function createRectangle(
left: any /** TODO #9100 */, top: any /** TODO #9100 */, width: any /** TODO #9100 */,
height: any /** TODO #9100 */) {
return {left, top, width, height};
}