handsontable / vue-handsontable-official

Vue Data Grid with Spreadsheet Look & Feel. Official Vue wrapper for Handsontable.

Home Page:https://handsontable.com/docs/vue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compatibilities with new version 7.2.0

Anatolii-Novikov opened this issue · comments

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

  1. 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"
    },

@Anatolii-Novikov You're right, we're on it.

Until this issue is fixed, please use the last working Handsontable version (7.1.1).

Hi @Anatolii-Novikov

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.

Hi @AMBudnik

Thank you for your efforts.
After updating it works

Thank you for the prompt feedback Anatolii.