angular-docs-cn/packages/platform-browser/test/browser/rectangle_mock.ts

14 lines
403 B
TypeScript
Raw Normal View History

/**
* @license
* Copyright Google LLC 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};
}