rocwang / vue-virtual-scroll-grid

A Vue 3 component that can render a list with 1000+ items as a grid in a performant way.
https://grid.kiwiberry.nz/
MIT License
300 stars 31 forks source link

[BUG] some type errors in pipeline.ts #154

Closed mesqueeb closed 2 years ago

mesqueeb commented 3 years ago
image
mesqueeb commented 3 years ago

causes:

image

PS: I don't know why our Webpack is trying to read your TS file... that's probably an issue on our end. But the fact that the type errors are there might be able to be fixed in your source code.

rocwang commented 2 years ago

I've fixed the type issue in v1.2.3. It looks like have something to do with TypeScript 4.5.

With that said, ideally, the library's type issue shouldn't be your project concern to begin with. If you use vue-tsc to check the types, there is a --skipLibCheck option you can set to skip type checking on libraries.