1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix type error

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-12-02 15:32:40 -05:00
parent 5a896b146e
commit ac26b97e56

View File

@ -121,7 +121,7 @@ const helmChartMaintainerValidator = Joi.object<HelmChartMaintainer>({
.optional(),
});
const helmChartDependencyValidator = Joi.object<RawHelmChartDependency>({
const helmChartDependencyValidator = Joi.object<HelmChartDependency, true, RawHelmChartDependency>({
name: Joi
.string()
.required(),
@ -140,7 +140,7 @@ const helmChartDependencyValidator = Joi.object<RawHelmChartDependency>({
.default(() => ([])),
});
const helmChartValidator = Joi.object<RawHelmChart>({
const helmChartValidator = Joi.object<HelmChart, true, RawHelmChart>({
apiVersion: Joi
.string()
.required(),