0👍
The package @types/slick-carousel is sadly not the correct one for types for this package. You can check it out by exploring its index.d.ts.
You can either add // @ts-ignore
above the problematic line. it is not so recommended.
Or, you can add shims-slick-carousele.d.ts
to the src folder with
declare module 'vue-slick-carousel' {
import Vue from "vue";
declare class Slick extends Vue {
next(): void;
prev(): void;
play(): void;
pause(): void;
reSlick(): void;
goTo(index: number): void;
}
export default Slick;
}
(Type was taken from source).
Source:stackexchange.com