basalt / core/src / ConfigSchema
Interface: ConfigSchema<T>
Defined in: core/src/plugin.ts:8
Structural schema compatible with Zod (safeParse), without a runtime dependency. Any validator with the same shape works.
Type Parameters
T
T
Methods
safeParse()
> safeParse(input): object
Defined in: core/src/plugin.ts:9
Parameters
input
unknown
Returns
object
data?
> optional data?: T
error?
> optional error?: unknown
success
> success: boolean