feat: Add the get const

This commit is contained in:
BluJ
2023-05-02 16:01:56 -06:00
parent ebf679b7ed
commit 25400610a9

View File

@@ -54,3 +54,11 @@ export const smtpConfig = Value.union(
},
}),
)
export function getConst<WrapperData>() {
return {
get smtp() {
return smtpConfig.withWrapperData<WrapperData>()
},
}
}