You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: node_modules/surveyjs-editor/surveyeditor.d.ts:1327:22 - error TS2420: Class 'SurveyPropertyEditorBase' incorrectly implements interface 'ILocalizableOwner'.
Property 'getRenderer' is missing in type 'SurveyPropertyEditorBase' but required in type 'ILocalizableOwner'.
1327 export declare class SurveyPropertyEditorBase implements Survey.ILocalizableOwner {
~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/survey-knockout/survey.ko.d.ts:2654:9
2654 getRenderer(name: string): string;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'getRenderer' is declared here.
Cheers
Olaf
The text was updated successfully, but these errors were encountered:
@nolafs install survey-knockout package too as dependency at the same version than the survey-creator it will fix it.
Btw the core problem is survey-creator owns the survey-knockout as dependency but it has ^version lock, witch means for npm it can upgrade the minor versions too. So the installed creator version will lower than the knockout version.
@nolafs i have uninstall survey-knockout & install same version as survey-creator, like "survey-creator": "^1.7.20", "survey-knockout": "^1.7.20", it works for me
Why i am getting this error?
Error: node_modules/surveyjs-editor/surveyeditor.d.ts:1327:22 - error TS2420: Class 'SurveyPropertyEditorBase' incorrectly implements interface 'ILocalizableOwner'.
Property 'getRenderer' is missing in type 'SurveyPropertyEditorBase' but required in type 'ILocalizableOwner'.
1327 export declare class SurveyPropertyEditorBase implements Survey.ILocalizableOwner {
~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/survey-knockout/survey.ko.d.ts:2654:9
2654 getRenderer(name: string): string;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'getRenderer' is declared here.
Cheers
Olaf
The text was updated successfully, but these errors were encountered: