diff --git a/tns-core-modules/ui/core/view/view-common.ts b/tns-core-modules/ui/core/view/view-common.ts index 91a1fd4ad..9bd71c32d 100644 --- a/tns-core-modules/ui/core/view/view-common.ts +++ b/tns-core-modules/ui/core/view/view-common.ts @@ -883,11 +883,11 @@ export abstract class ViewCommon extends ViewBase implements ViewDefinition { return undefined; } - public getPositionFromFrame(frame: CGRect): { left, top, right, bottom } { + public getPositionFromFrame(frame: any): { left, top, right, bottom } { return undefined; } - public getFrameFromPosition(position: { left, top, right, bottom }, insets?: { left, top }): CGRect { + public getFrameFromPosition(position: { left, top, right, bottom }, insets?: { left, top }): any { return undefined; }