Update of humanize method parameters type

Signed-off-by: Tomáš Tunkl <tomas.tunkl@avast.com>
This commit is contained in:
Tomáš Tunkl
2022-09-12 14:05:34 +02:00
parent 007204a8be
commit d9ab14d04c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -441,7 +441,7 @@ export function humanizeEntityRef(
entityRef: Entity | CompoundEntityRef,
opts?: {
defaultKind?: string;
defaultNamespace?: string | boolean;
defaultNamespace?: string | false;
},
): string;
@@ -29,7 +29,7 @@ export function humanizeEntityRef(
entityRef: Entity | CompoundEntityRef,
opts?: {
defaultKind?: string;
defaultNamespace?: string | boolean;
defaultNamespace?: string | false;
},
) {
const defaultKind = opts?.defaultKind;