feat: Remove dead code

This commit is contained in:
BluJ
2023-05-02 16:53:59 -06:00
parent 29a0bf4981
commit add231ce8a

View File

@@ -105,15 +105,6 @@ export class Config<Type extends Record<string, any>, WD> {
return new Config<Type, WrapperData>(spec, validator)
}
static withWrapperData<WrapperData>() {
return {
of<Type extends Record<string, any>>(spec: {
[K in keyof Type]: Value<Type[K], WrapperData>
}) {
return Config.of<Type, WrapperData>(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.