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:
parent
5a896b146e
commit
ac26b97e56
@ -121,7 +121,7 @@ const helmChartMaintainerValidator = Joi.object<HelmChartMaintainer>({
|
|||||||
.optional(),
|
.optional(),
|
||||||
});
|
});
|
||||||
|
|
||||||
const helmChartDependencyValidator = Joi.object<RawHelmChartDependency>({
|
const helmChartDependencyValidator = Joi.object<HelmChartDependency, true, RawHelmChartDependency>({
|
||||||
name: Joi
|
name: Joi
|
||||||
.string()
|
.string()
|
||||||
.required(),
|
.required(),
|
||||||
@ -140,7 +140,7 @@ const helmChartDependencyValidator = Joi.object<RawHelmChartDependency>({
|
|||||||
.default(() => ([])),
|
.default(() => ([])),
|
||||||
});
|
});
|
||||||
|
|
||||||
const helmChartValidator = Joi.object<RawHelmChart>({
|
const helmChartValidator = Joi.object<HelmChart, true, RawHelmChart>({
|
||||||
apiVersion: Joi
|
apiVersion: Joi
|
||||||
.string()
|
.string()
|
||||||
.required(),
|
.required(),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user