TS2322: Type 'Schema<ObjectS<{ commmandName: Schema<string, string>; leaveMessage: Schema<string, string>; }>, ObjectT<{ commmandName: Schema<string, string>; leaveMessage: Schema<...>; }>>' is not assignable to type 'Schema<PluginConfig, PluginConfig>'. Type 'ObjectT<{ commmandName: Schema<string, string>; leaveMessage: Schema<string, string>; }>' is not assignable to type 'PluginConfig'. Property 'leaveMessage' is optional in type 'ObjectT<{ commmandName: Schema<string, string>; leaveMessage: Schema<string, string>; }>' but required in type 'PluginConfig'. ts-loader-default_e3b0c44298fc1c14 @ ./src/index.ts 15:17-36 16:13-32
webpack 5.57.1 compiled with 1 error in 5821 ms Cleaning up file based variables ERROR: Job failed: exit code 1