diff --git a/dist-js/api.d.ts b/dist-js/api.d.ts
index be3864e..154d526 100644
--- a/dist-js/api.d.ts
+++ b/dist-js/api.d.ts
@@ -10,8 +10,8 @@ export declare function name(): Promise<String>;
 export declare function kernelVersion(): Promise<String>;
 export declare function osVersion(): Promise<String>;
 export declare function staticInfo(): Promise<StaticInfo>;
-export declare function components(): Promise<Component>;
-export declare function cpus(): Promise<Cpu>;
+export declare function components(): Promise<Component[]>;
+export declare function cpus(): Promise<Cpu[]>;
 export declare function cpuCount(): Promise<number>;
 export declare function cpuInfo(): Promise<CpuInfo>;
 export declare function disks(): Promise<Disk[]>;
@@ -22,5 +22,5 @@ export declare function refreshMemory(): Promise<void>;
 export declare function refreshCpu(): Promise<void>;
 export declare function refreshProcesses(): Promise<void>;
 export declare function debugCommand(): Promise<unknown>;
-export declare function batteries(): Promise<Battery>;
+export declare function batteries(): Promise<Battery[]>;
 //# sourceMappingURL=api.d.ts.map
\ No newline at end of file
diff --git a/dist-js/api.d.ts.map b/dist-js/api.d.ts.map
index 84655b2..00114da 100644
--- a/dist-js/api.d.ts.map
+++ b/dist-js/api.d.ts.map
@@ -1 +1 @@
-{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../guest-js/api.ts"],"names":[],"mappings":"AACA,OAAO,EACL,GAAG,EACH,IAAI,EACJ,OAAO,EACP,SAAS,EACT,OAAO,EACP,UAAU,EACV,UAAU,EACV,OAAO,EACP,aAAa,EACb,OAAO,EACR,MAAM,QAAQ,CAAC;AAEhB,wBAAgB,UAAU,IAAI,OAAO,CAAC,aAAa,CAAC,CAEnD;AAED,wBAAgB,WAAW,IAAI,OAAO,CAAC,MAAM,CAAC,CAE7C;AACD,wBAAgB,UAAU,IAAI,OAAO,CAAC,MAAM,CAAC,CAE5C;AACD,wBAAgB,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,CAE3C;AACD,wBAAgB,QAAQ,IAAI,OAAO,CAAC,MAAM,CAAC,CAE1C;AACD,wBAAgB,UAAU,IAAI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AO,CAAC,IAAI,CAAC,CAE1C;AACD,wBAAgB,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC,CAEhD;AAED,wBAAgB,YAAY,qBAE3B;AAED,wBAAgB,SAAS,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC,CAE9C"}
\ No newline at end of file
diff --git a/guest-js/api.ts b/guest-js/api.ts
index ddc8d5a..a76068c 100644
--- a/guest-js/api.ts
+++ b/guest-js/api.ts
@@ -48,11 +48,11 @@ export function staticInfo(): Promise<StaticInfo> {
   return invoke("plugin:system-info|static_info");
 }
 // Components
-export function components(): Promise<Component> {
+export function components(): Promise<Component[]> {
   return invoke("plugin:system-info|components");
 }
 // Cpu
-export function cpus(): Promise<Cpu> {
+export function cpus(): Promise<Cpu[]> {
   return invoke("plugin:system-info|cpus");
 }
 export function cpuCount(): Promise<number> {
@@ -91,6 +91,6 @@ export function debugCommand() {
   return invoke("plugin:system-info|debug");
 }
 
-export function batteries(): Promise<Battery> {
+export function batteries(): Promise<Battery[]> {
   return invoke("plugin:system-info|batteries");
 }