Update of humanize method parameters type
Signed-off-by: Tomáš Tunkl <tomas.tunkl@avast.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user