在 Visual Studio 上找不到客户端库 @types/forge-apis 和 @types/forge-viewer

Client-Side library not found @types/forge-apis and @types/forge-viewer on Visual Studio

目前,我正在使用 VS 2019,安装包 @types/forge-apis@types/forge-viewer 添加客户端库但未找到(如下图)。请帮我。 enter image description here

这两个包都可以直接在 unpkg 上获得:

但是,这些包只包含 TypeScript 接口,所以它们并不是真正的“Client-Side库”。

如果您尝试使用 Autodesk Forge 启动一个新的 TypeScript 项目,您将必须安装 forge-apis, @types/forge-apis, and @types/forge-viewer 作为 server-side 依赖项。