First attempt at electron-store
. I need to have two different files, so I tried to setup the name in the constructor this way (as explained in the documentation:
const options: Store.Options<Record<string, unknown>> = {};
options.name = "preferences";
But Typescript complains: Cannot assign to 'name' because it is a read-only property.
What should I do?
Thanks!
mario
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too