fix: change the return result type to Promise

This commit is contained in:
eightHundreds 2023-06-30 14:27:50 +08:00 committed by 刘菊萍(絮黎)
parent 30686a5bb8
commit a1a50f2570

View File

@ -1,5 +1,5 @@
export interface IPublicTypePluginConfig { export interface IPublicTypePluginConfig {
init(): void; init(): Promise<void>;
destroy?(): void; destroy?(): Promise<void>;
exports?(): any; exports?(): any;
} }