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
I try to update ngx-charts for angular 14.2 (and typescript 4.8.4).
When I compile ngx-charts, I have an error with ngx-ui:
Error: node_modules/@swimlane/ngx-ui/lib/components/json-editor/schema-validator.service.d.ts:4:10 - error TS2702: 'Ajv' only refers to a type,
but is being used as a namespace here.
4 ajv: Ajv.Ajv;
If i patch node_modules@swimlane\ngx-ui\lib\components\json-editor\schema-validator.service.d.ts with:
BEFORE: export declare class SchemaValidatorService { ajv: Ajv.Ajv;
AFTER: export declare class SchemaValidatorService { ajv: Ajv;
all is ok.
With this error, it is not possible to post a pull request for ngx-charts for angular 14.2.
Is-it possible to change the code for ngx-ui/projects/swimlane/ngx-ui/src/lib/components/json-editor/schema-validator.service.ts
like this (for all typescript version) => declare variable with constructor
BEFORE:
I try to update ngx-charts for angular 14.2 (and typescript 4.8.4).
When I compile ngx-charts, I have an error with ngx-ui:
If i patch node_modules@swimlane\ngx-ui\lib\components\json-editor\schema-validator.service.d.ts with:
BEFORE:
export declare class SchemaValidatorService { ajv: Ajv.Ajv;
AFTER:
export declare class SchemaValidatorService { ajv: Ajv;
all is ok.
With this error, it is not possible to post a pull request for ngx-charts for angular 14.2.
Is-it possible to change the code for ngx-ui/projects/swimlane/ngx-ui/src/lib/components/json-editor/schema-validator.service.ts
like this (for all typescript version) => declare variable with constructor
BEFORE:
AFTER:
Philippe
The text was updated successfully, but these errors were encountered: