custom-patch
Closed this issue ยท 1 comments
Pribess commented
Hi! ๐
Firstly, thanks for your work on this project! ๐
Today I used patch-package to patch proxmox-api@1.0.2
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/proxmox-api/dist/esm/model.d.ts b/node_modules/proxmox-api/dist/esm/model.d.ts
index cb5cfa9..bf339f4 100644
--- a/node_modules/proxmox-api/dist/esm/model.d.ts
+++ b/node_modules/proxmox-api/dist/esm/model.d.ts
@@ -2735,7 +2735,7 @@ export declare namespace Proxmox {
/**
* Used memory in bytes (when type in node,qemu,lxc).
*/
- mem?: string;
+ mem?: number;
/**
* Name of the resource.
*/
This issue body was partially generated by patch-package.
UrielCh commented
so ... maybe the type had change with the new proxmox...