feat: Add effect of smtp & withWrapperData

This commit is contained in:
BluJ
2023-05-02 15:34:49 -06:00
parent 23994a6587
commit 27145c3974
5 changed files with 27 additions and 2 deletions

View File

@@ -114,6 +114,9 @@ export class Config<Type extends Record<string, any>, WD> {
},
}
}
withWrapperData<NewWrapperData extends WD>() {
return this as any as Config<Type, NewWrapperData>
}
}
export function topConfig<WrapperData>() {