Global config with window.Apex is not recognized with typescript #4094
ngtrthinh169TPC
started this conversation in
General
Replies: 1 comment
-
Hope this will help |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As in title, typescript doesn't recognize the global variable of
Apex
.I'm using Apexcharts with React-apexcharts. I know that I can just disable the error with ts-ignore or just type it as any, but that approaches are trying to ignore the problem, not solving it.
Any suggestions to make typescript happy here? I'd suggest we add something to d.ts file to cover this, but I don't really know if it can actually solve this.
Beta Was this translation helpful? Give feedback.
All reactions