如果 --allowJs 给您不错的结果,并且您想自己编写一个更好的定义文件,则可以将其 --allowJs 与 --declaration TypeScript对库类型的“最佳猜测” 结合使用。这将为您提供 ...
確定! 回上一頁