mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
chore: typing fixes
This commit is contained in:
8
packages/core/ui/styling/background.d.ts
vendored
8
packages/core/ui/styling/background.d.ts
vendored
@@ -2,7 +2,7 @@ import { Color } from '../../color';
|
||||
import { View } from '../core/view';
|
||||
import { BackgroundRepeat } from '../../css/parser';
|
||||
import { LinearGradient } from '../styling/linear-gradient';
|
||||
import { BoxShadow } from './box-shadow';
|
||||
import { CSSShadow } from './css-shadow';
|
||||
|
||||
export enum CacheMode {
|
||||
none,
|
||||
@@ -30,7 +30,7 @@ export declare class Background {
|
||||
public borderBottomRightRadius: number;
|
||||
public borderBottomLeftRadius: number;
|
||||
public clipPath: string;
|
||||
public boxShadow: string | BoxShadow;
|
||||
public boxShadow: string | CSSShadow;
|
||||
|
||||
public withColor(value: Color): Background;
|
||||
public withImage(value: string | LinearGradient): Background;
|
||||
@@ -50,7 +50,7 @@ export declare class Background {
|
||||
public withBorderBottomRightRadius(value: number): Background;
|
||||
public withBorderBottomLeftRadius(value: number): Background;
|
||||
public withClipPath(value: string): Background;
|
||||
public withBoxShadow(value: BoxShadow): Background;
|
||||
public withBoxShadow(value: CSSShadow): Background;
|
||||
|
||||
public isEmpty(): boolean;
|
||||
|
||||
@@ -67,7 +67,7 @@ export declare class Background {
|
||||
public getUniformBorderWidth(): number;
|
||||
public getUniformBorderRadius(): number;
|
||||
public hasBoxShadow(): boolean;
|
||||
public getBoxShadow(): BoxShadow;
|
||||
public getBoxShadow(): CSSShadow;
|
||||
}
|
||||
|
||||
export namespace ios {
|
||||
|
||||
Reference in New Issue
Block a user