angular-cn/modules/angular2/test/services/rectangle_mock.ts

4 lines
99 B
TypeScript
Raw Normal View History

export function createRectangle(left, top, width, height) {
return {left, top, width, height};
}