Browse Source

upd: d.ts options modify

richard1015 4 years ago
parent
commit
8fd20b6261
1 changed files with 1 additions and 1 deletions
  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 {}