I had this issue too. Today I upgraded deno and found out I had two different installations.
Default Terminal: /Users/userName/.deno/bin/deno (version 2.1.3)
Vscode using homebrew: /opt/homebrew/bin/deno (version 1.44.4)
I know you use windows. But for mac I needed to brew uninstall deno and then the correct version was available in vscode.