[TS] Initial Typescript fix
This commit is contained in:
parent
8c15dd6752
commit
813295c857
36 changed files with 4285 additions and 1951 deletions
12
lib/app.ts
12
lib/app.ts
|
@ -1,12 +1,14 @@
|
|||
// @ts-nocheck
|
||||
// @ts-nocheck
|
||||
import k8s from "@kubernetes/client-node";
|
||||
import Minecluster from "./Minecluster.js";
|
||||
const mcl = new Minecluster();
|
||||
mcl.start();
|
||||
|
||||
async function main(){
|
||||
const kc = new k8s.KubeConfig();
|
||||
kc.loadFromDefault();
|
||||
async function main() {
|
||||
const kc = new k8s.KubeConfig();
|
||||
kc.loadFromDefault();
|
||||
}
|
||||
|
||||
main().catch((e)=>{console.error(e)});
|
||||
main().catch((e) => {
|
||||
console.error(e);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue