neutralinojs / neutralino.js

JavaScript API for Neutralinojs
https://neutralino.js.org/docs/api/overview
MIT License
237 stars 47 forks source link

api/computer: Add missing physical and virtual objects on MemoryInfo type def #104

Closed busybox11 closed 7 months ago

busybox11 commented 7 months ago

The C++ API returns an object containing two physical and virtual objects with the corresponding memory info.

This is also defined by the docs.

The data is returned as expected, and casting a fixed type manually does work with TS. This PR fixes the JS API's type.