Skip to content

Commit

Permalink
fix: change the return result type to Promise
Browse files Browse the repository at this point in the history
  • Loading branch information
eightHundreds committed Jun 30, 2023
1 parent 30686a5 commit 57b1900
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/types/src/shell/type/plugin-config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export interface IPublicTypePluginConfig {
init(): void;
destroy?(): void;
init(): Promise<void>;
destroy?(): Promise<void>;
exports?(): any;
}

0 comments on commit 57b1900

Please sign in to comment.