feat: fix typo

This commit is contained in:
pengfei.zhou
2021-11-25 12:00:58 +08:00
committed by osborn
parent 3b901cae90
commit 62a8357d77
13 changed files with 257 additions and 8 deletions

13
doric-js/index.d.ts vendored
View File

@@ -1110,7 +1110,20 @@ declare module 'doric/lib/src/widget/effect' {
*/
radius?: number;
}
export class AeroEffect extends Stack {
/**
* Specify the effective rectangle.
* If not set, the default is the entire area.
*/
effectiveRect?: {
x: number;
y: number;
width: number;
height: number;
};
}
export function blurEffect(views: View | View[], config?: Partial<BlurEffect>): BlurEffect;
export function aeroEffect(views: View | View[], config?: Partial<AeroEffect>): AeroEffect;
}
declare module 'doric/lib/src/native/modal' {