mirror of
https://github.com/Start9Labs/start-sdk.git
synced 2026-04-02 05:23:21 +00:00
filter union for smtp
This commit is contained in:
@@ -18,7 +18,7 @@ export type ExtractConfigType<A extends Record<string, any> | Config<Record<stri
|
||||
A extends Config<infer B, any> | Config<infer B, never> ? B :
|
||||
A
|
||||
|
||||
export type TypeAsConfigOf<A extends Record<string, any>, WD = never> = {
|
||||
export type ConfigSpecOf<A extends Record<string, any>, WD = never> = {
|
||||
[K in keyof A]: Value<A[K], WD>
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user