浏览代码

upd: d.ts options modify

richard1015 4 年之前
父节点
当前提交
8fd20b6261
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      types/nutui.d.ts

+ 1 - 1
types/nutui.d.ts

@@ -13,7 +13,7 @@ export const version: string;
 
 export const locale: (l: any) => void;
 
-export function install(vue: typeof Vue, options: InstallationOptions): void;
+export function install(vue: typeof Vue, options?: InstallationOptions): void;
 
 export declare class ActionSheet extends UIComponent {}
 export declare class Badge extends UIComponent {}