Question T2622
Visible to All Users

ts error in latest version

created 5 years ago

Hi,

we are encountering the following build failure on our integration platform (it's strict about linting etc) - looks like you have a problem with duplicate variable declaration

build 05-Sep-2019 12:48:25 node_modules/survey-creator/survey-creator.d.ts(15,12): error TS2451: Cannot redeclare block-scoped variable 'Version'.
build 05-Sep-2019 12:48:25 node_modules/survey-creator/survey-creator.d.ts(3871,12): error TS2451: Cannot redeclare block-scoped variable 'Version'.

Answers approved by surveyjs Support

created 5 years ago

Hello Helen,

We fixed this problem early and we can't find (via ctrl+f) duplicate declaration of variable 'Version' in latest d.ts file of survey creator. May you share work sample with the issue?

Thanks, Alex
SurveyJS Team

    Comments (2)

      There error is in our file node_modules/survey-creator/survey-creator.d.ts, which we get from npm installing version 1.1.7

        Hello,

        We fixed it in 1.1.8 version, please update your SurveyJS Creator version

        Thanks, Alex
        SurveyJS Team