Angular DevExtreme: renderer type question
husbd opened this issue · 1 comments
Support Question
Hi DevExtreme team,
Our team was using Angular 9.1.12 with devextreme&devextreme-angular 20.1.6
We have some local customisation on dxFilterBuilder & TreeView which all depend on renderer.
Previously, we defined this in our code:
import renderer from 'devextreme/core/renderer';
export const dxRenderer: JQueryStatic = renderer;
now we want to upgrade our devextreme version to the latest(21.2.3) but above code no longer works due to:
declare function renderer(selector: string | Element | dxElementWrapper): dxElementWrapper;
We want to upgrade to the lastest devextreme version and maintain the same behaviour. Is that possible to do? And will there be any other side effects that might come with the upgrade?
Thank you!
Hi @husbd,
Currently, we are in the process of enhancing our TypeScript definitions, and we are making significant changes in our code. I recommend you check the following GitHub issue for more details: Internal Types. Also, in this GitHub issue, you will find updated definitions and will be able to share your current code and the issue. Our team will be happy to assist you in this thread.