Deno LSP problems

Deno LSP does not pickup Object.entries (errors that .entries does not exist on ObjectConstructor and that es2017+ should be set to lib property). I didn't have any success solving it... I have tried adding es2022 to lib, module and target of deno.json, cleaning out compilerOptions in deno.json, etc. Does anyone have any idea what might be wrong?