> yarn --version
1.22.17
> electron --version
v16.0.1
> tsc --version
Version 4.5.2
npm run pack:linux
[...]
src/main/config.ts:74:37 - error TS2345: Argument of type '{ schema: Schema<StoreType>; clearInvalidConfig: true; }' is not assignable to parameter of type 'Options<StoreType>'.
Property 'configFileMode' is missing in type '{ schema: Schema<StoreType>; clearInvalidConfig: true; }' but required in type 'Except<Options<StoreType>, "configName" | "projectName" | "projectVersion" | "projectSuffix">'.
74 export default new Store<StoreType>({
~
75 schema,
~~~~~~~~~
76 clearInvalidConfig: true
~~~~~~~~~~~~~~~~~~~~~~~~~~
77 });
~
node_modules/conf/dist/source/types.d.ts:209:14
209 readonly configFileMode: number;
~~~~~~~~~~~~~~
'configFileMode' is declared here.
Found 1 error.
Hi,
Just to let you know :-)