createDefineConfig
createDefineConfig<
T>(): <C>(config) =>C
Defined in: cli/datapad/src/define/define.ts:13
Build a typed identity defineConfig for a specific config shape.
Each consumer (@theholocron/cli, @theholocron/astromech) calls this
once with its own config type and re-exports the result, so config
files get autocomplete and type-checking with no runtime cost:
// @theholocron/astromech/configexport const defineConfig = createDefineConfig<TasksConfig>();Type Parameters
Section titled “Type Parameters”T
Returns
Section titled “Returns”<C>(config) => C