I am currently working on PCF Controls in D365 Server version: 9.2.21094.00131.
I tried editing one of our custom controls using PCF Builder in Xrmtoolbox.

But when I clicked the 'Open in VS Code' button to edit the index.ts file, there is an error on the 'navigateTo' method.
I can do some edit on this PCF control but with this error, build is always failed.

Looking into this link https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-navigation/navigateto , only the 'navigationTo' method is missing on the ComponentFramework.Navigation from componentframework.d.ts file.
It is available though in Developer Tools (F12). and I already tried the npm update but still have the same error.

Is there other way(s) to manage to work the 'navigateTo' method? Or something that can be replaced by with another method?
Thank you.