Compatibilities with new version 7.2.0
Anatolii-Novikov opened this issue · comments
Anatolii Novikov commented
Description
I updated handsontable from 7.1.1 to 7.2.0 and after that I get a typescript error:
ERROR in /home/anovikov/projects/weissbeerger/connected-poc-admin-gui/node_modules/@handsontable/vue/BaseEditorComponent.vue.d.ts
3:80 Namespace 'Handsontable._editors' has no exported member 'Base'.
1 | import Vue from 'vue';
2 | import Handsontable from 'handsontable';
> 3 | declare class BaseEditorComponent extends Vue implements Handsontable._editors.Base {
| ^
4 | name: string;
5 | instance: any;
6 | row: any;
ERROR in /home/anovikov/projects/weissbeerger/connected-poc-admin-gui/node_modules/@handsontable/vue/types.d.ts
50:82 Namespace 'Handsontable._editors' has no exported member 'Base'.
48 | declare type ClassMethods<T> = Pick<T, NotOriginalValueProp<T>>;
49 | declare type ClassFields<T> = Pick<T, ClassFieldKey<T>>;
> 50 | export interface BaseVueEditorMethods extends ClassMethods<Handsontable._editors.Base> {
| ^
51 | }
52 | export interface BaseVueEditorFields extends ClassFields<Handsontable._editors.Base> {
53 | }
ERROR in /home/anovikov/projects/weissbeerger/connected-poc-admin-gui/node_modules/@handsontable/vue/types.d.ts
52:80 Namespace 'Handsontable._editors' has no exported member 'Base'.
50 | export interface BaseVueEditorMethods extends ClassMethods<Handsontable._editors.Base> {
51 | }
> 52 | export interface BaseVueEditorFields extends ClassFields<Handsontable._editors.Base> {
| ^
53 | }
54 | export {};
55 |
Version: typescript 3.5.3
Steps to reproduce
- Update Handsontable from 7.1.1 to 7.2.0
Your environment
"dependencies": {
"@handsontable/vue": "4.1.0",
"handsontable": "7.2.0",
"typescript": "3.5.3",
"vue": "2.6.10",
"vue-class-component": "7.1.0",
"vue-property-decorator": "8.2.1",
"vuelidate": "0.7.4",
"vuetify": "1.5.16",
"vuex": "3.1.1"
},
Jan Siegel commented
@Anatolii-Novikov You're right, we're on it.
Until this issue is fixed, please use the last working Handsontable version (7.1.1).
Aleksandra Budnik commented
I have great news.
We've just released a new version of the wrapper that fixes the following issue.
Please update and let me know if it works in your project as well.
Anatolii Novikov commented
Hi @AMBudnik
Thank you for your efforts.
After updating it works
Aleksandra Budnik commented
Thank you for the prompt feedback Anatolii.