Browse Source

fix: typescript global error #461

richard1015 4 years ago
parent
commit
d9599e66f5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      jd/generate-types.js

+ 1 - 1
jd/generate-types.js

@@ -21,7 +21,7 @@ export interface InstallationOptions {
   lang?: any;
   lang?: any;
 }
 }
 declare function install(app: App, options?: InstallationOptions): void;
 declare function install(app: App, options?: InstallationOptions): void;
-export { ${packages.join(',')} };
+export { ${packages.join(',')},install };
 declare const _default: {
 declare const _default: {
   install: typeof install;
   install: typeof install;
   version: string;
   version: string;