-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
When I try to compile (npm run compile) code with loadYaml and dumpYaml methods (below)
import * as k8s from "@kubernetes/client-node";
function updateJobTemplate(jobTemplate: string, namespace: string): string {
const jobTemplateObj = k8s.loadYaml(jobTemplate) as k8s.V1Job;
return k8s.dumpYaml(jobTemplateObj);
}
I have many errors like:
errors.txt
Tested on nodejs 14 and 18.