fix: change the return result type to Promise

This commit is contained in:
eightHundreds 2023-06-30 14:27:50 +08:00 committed by JackLian
parent c5dac6e0b5
commit f82d04a4e6

View File

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