我需要为 spin.js 库生成 .d.ts 文件 ( http://fgnass.github.io/spin.js/ )。
如何继续?
最佳答案
已经写好了
https://github.com/borisyankov/DefinitelyTyped/blob/master/spin/spin.d.ts
使用
new Spinner({lines: 3, radius: 5}).spin(document.getElementById("test"));
关于javascript - 为 spin.js 生成 Typescript .d.ts 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25972052/