Thank you for letting us know. This issue is caused by the missing type definition for the Viewer3DImpl#getFragmentProxy in the community contributed TypeScript definition file for the Forge Viewer (i.e. @types/forge-viewer) under DefinitelyTyped repository, so the TypeScript type checker/complier cannot find the type definition. The method is still there in the Forge Viewer JavaScript libs. To fix it, here are some suggestions for you:
- Create an PR for adding the missing type definition of the
Viewer3DImpl#getFragmentProxy on DefinitelyTyped repository yourself
- Create a dummy
.d.ts file to add the missing type definition somewhere in your code project. Please refer here for How-To (Link1 & Link2)
- Wait for updates on
@types/forge-viewer from us (Not recommended, it might take some time for one line code update)