Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
fix: 修复 WebView 相关类型
Browse files Browse the repository at this point in the history
  • Loading branch information
ModyQyW committed Sep 27, 2023
1 parent 2e1d60e commit 41d5881
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/web-view/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ interface _WebViewStyles {
*
* 默认为 { color: '#00ff00' }
*/
progress: boolean | { color: string };
progress?: boolean | { color?: string };
/** 组件宽度 */
width: string;
width?: string;
/** 组件高度 */
height: string;
height?: string;
}

interface _WebViewOnMessageDetail {
Expand Down

0 comments on commit 41d5881

Please sign in to comment.