Closed anpinghuang closed 5 months ago
I think there was an error compiling the typescript. Because when you try export default it always becomes the default object.
You can use it like this:
import TikAPI from "@tobyg74/tiktok-api-dl"
const { default: Tiktok } = TikAPI
...
Or you can use the Tiktok object directly
import { Tiktok } from "@tobyg74/tiktok-api-dl"
...