mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix tslint errors
This commit is contained in:
@@ -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 {
|
||||
|
||||
2
tns-core-modules/ui/button/button.d.ts
vendored
2
tns-core-modules/ui/button/button.d.ts
vendored
@@ -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.
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user