eskutti / EMI-Calculator

EMI Calculator for Car loan, Personal Loan, Home Loans etc. This application build using Ionic Angular
MIT License
0 stars 1 forks source link

typescript error on the "xAXES" and *yAXE #1

Open loobj126 opened 3 years ago

loobj126 commented 3 years ago

Hi SIr , There were issue typescript error on the "xAXES" and *yAXES" .

scales: { xAxes: [{ gridLines: { display: false }, stacked: true, }], yAxes: [{ gridLines: { display: false }, ticks: {

Type '{ gridLines: { display: false; }; ticks: { callback: (value: any, index: any, values: any) => string; }; stacked: true; }[]' is not assignable to type '_DeepPartialObject<{ type: "linear"; } & CartesianScaleOptions & { beginAtZero: boolean; suggestedMin?: number; suggestedMax?: number; grace?: string | number; ticks: { format: NumberFormatOptions; maxTicksLimit: number; precision: number; stepSize: number; count: number; }; }> | _DeepPartialObject<...> | _DeepParti...'. Type '{ gridLines: { display: false; }; ticks: { callback: (value: any, index: any, values: any) => string; }; stacked: true; }[]' is not assignable to type '_DeepPartialObject<{ type: "timeseries"; } & CartesianScaleOptions & { bounds: "ticks" | "data"; adapters: { date: unknown; }; time: { parser: string | ((v: unknown) => number); round: false | TimeUnit; ... 5 more ...; minUnit: TimeUnit; }; ticks: { ...; }; }>'. Types of property 'reverse' are incompatible. Type '() => { gridLines: { display: false; }; ticks: { callback: (value: any, index: any, values: any) => string; }; stacked: true; }[]' is not assignable to type 'boolean'.ts(2322) utils.d.ts(13, 30): The expected type comes from property 'yAxes' which is declared here on type '_DeepPartialObject<{ [key: string]:

loobj126 commented 3 years ago

Sir , can pls advise?