diff --git a/lib/config/builder/config.ts b/lib/config/builder/config.ts index d709e84..39cedcb 100644 --- a/lib/config/builder/config.ts +++ b/lib/config/builder/config.ts @@ -105,15 +105,6 @@ export class Config, WD> { return new Config(spec, validator) } - static withWrapperData() { - return { - of>(spec: { - [K in keyof Type]: Value - }) { - return Config.of(spec) - }, - } - } /** * Use this during the times that the input needs a more specific type. * Used in types that the value/ variant/ list/ config is constructed somewhere else.