Closed artemaminov closed 2 years ago
@artemaminov, what's version of vue-advanced-cropper
do you use?
"vue-advanced-cropper": "^2.8.1",
I'm new to TS and JS and did fixed that issue creating vue-advanced-cropper.d.ts file and included it from tsconfig.json
import { TransformableImage } from "vue-advanced-cropper";
module 'vue-advanced-cropper' {
export declare const TransformableImage;
}
Is it correct?
@artemaminov, actually you have found the bug in the typings.
Try to remove this fragment:
module 'vue-advanced-cropper' {
export declare const TransformableImage;
}
And update to 2.8.2
.
It's pass now. Thank you for the great work and lightning fast respond!
@artemaminov, you are welcome!
Module '"vue-advanced-cropper"' has no exported member 'TransformableImage'
Or 'default' is not exported by node_modules/vue-advanced-cropper/dist/index.esm-bundler.js if