我在Typescript应用程序中使用fabric-with-gestures,一切都很好。
但是,原始库fabric具有定义的类型,我可以使用npm install --dev @types/fabric
安装它们,但是Typescript无法识别fabric-with-gestures
软件包中的它们。
由于没有模块fabric
,并且我假设类型基本相同,我如何使用fabric-with-gestures
和@types/fabric-with-gestures
的类型?
这有可能吗?