Fix tslint errors

This commit is contained in:
PanayotCankov
2016-12-21 17:32:01 +02:00
parent fbf22c9200
commit 7931ecd4f8
97 changed files with 109 additions and 260 deletions

View File

@@ -1,6 +1,6 @@
import {
ButtonBase, textProperty, formattedTextProperty, TouchGestureEventData, FormattedString, GestureTypes, TouchAction,
PseudoClassHandler, TextTransform
ButtonBase, TouchGestureEventData, GestureTypes, TouchAction,
PseudoClassHandler
} from "./button-common";
export * from "./button-common";
@@ -22,7 +22,6 @@ class ClickListener extends java.lang.Object implements android.view.View.OnClic
export class Button extends ButtonBase {
_button: android.widget.Button;
private _isPressed: boolean;
private _highlightedHandler: (args: TouchGestureEventData) => void;
get android(): android.widget.Button {

View File

@@ -2,7 +2,7 @@
* Contains the Button class, which represents a standard button widget.
*/
declare module "ui/button" {
import { TextBase, Property, EventData, FormattedString, FormattedStringView } from "ui/text-base";
import { TextBase, EventData } from "ui/text-base";
/**
* Represents a standard Button widget.

View File

@@ -1,6 +1,6 @@
import { ControlStateChangeListener } from "ui/core/control-state-change";
import {
View, ButtonBase, PseudoClassHandler, textProperty, formattedTextProperty, whiteSpaceProperty,
ButtonBase, PseudoClassHandler, whiteSpaceProperty,
borderTopWidthProperty, borderRightWidthProperty, borderBottomWidthProperty, borderLeftWidthProperty,
paddingTopProperty, paddingRightProperty, paddingBottomProperty, paddingLeftProperty, Length, WhiteSpace
} from "./button-common";