Default background color of inlay hints in VSCode or Neovim is not transparent. This can be changed by adding the following:
For Neovim
Note
If you are not using Nix, you can set the highlight group manually.
For VSCode
Tip
You can replace Monospace Light and Monospace Dark with your preferred theme.