Happy-Coding-Clans / vue-easytable

A powerful data table based on vuejs. You can use it as data grid、Microsoft Excel or Google sheets. It supports virtual scroll、cell edit etc.
https://happy-coding-clans.github.io/vue-easytable/
MIT License
3.63k stars 724 forks source link

It doesn't support typeScript project #339

Open 273299007 opened 3 years ago

273299007 commented 3 years ago

这个新特性和一个问题相关吗?简单描述下,比如我什么场景下,需要解决什么问题,发现表格不支持这个功能 Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

描述下,你希望得到的什么解决方案 Describe the solution you'd like A clear and concise description of what you want to happen.

Could not find a declaration file for module 'vue-easytable'. 'c:/.../node_modules/vue-easytable/libs/index.js' implicitly has an 'any' type.\n Try npm install @types/vue-easytable if it exists or add a new declaration (.d.ts) file containing declare module 'vue-easytable';

是否有不错的替代方案 Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

附加信息 Additional context Add any other context or screenshots about the feature request here.

273299007 commented 3 years ago

we can fix this issue by adding the following code to shims-vue.d.ts file: declare module "vue-easytable"

LucasManerich commented 1 year ago

+1

peppeg85 commented 1 year ago

hello, i still have this problem, did anyone fixed this? thank you

micheldpcarlos commented 1 year ago

I still have this issue. For now, I'm just doing this:

image
tamarMeital commented 7 months ago

hello, i still have this problem, did anyone fixed this? thank you