[x ] This issue is NOT related to the charting library itself
Describe the bug
Running the Angular 5 example out of the box results in ERROR in src/app/tv-chart-container/tv-chart-container.component.ts(16,5): error TS2322: Type '"D"' is not assignable to type 'Nominal<string, "ResolutionString">'. Type '"D"' is not assignable to type '{ [Symbol.species]: "ResolutionString"; }'.
That can be fixed by using the right Nominal type: ...'D' as ResolutionString
After 1. is fixed this error shows up: ERROR in src/assets/charting_library/charting_library.min.d.ts(1106,61): error TS2536: Type 'T' cannot be used to index type 'SeriesPreferencesMap'.
It can be fixed by setting the TypeScript version to '"~3.7.2"' to match the newer version in udf.
To Reproduce
Steps to reproduce the behavior:
Follow the steps in the README.md in "How to start" to try to start the application
Checklist
Describe the bug
ERROR in src/app/tv-chart-container/tv-chart-container.component.ts(16,5): error TS2322: Type '"D"' is not assignable to type 'Nominal<string, "ResolutionString">'. Type '"D"' is not assignable to type '{ [Symbol.species]: "ResolutionString"; }'.
That can be fixed by using the right Nominal type:...'D' as ResolutionString
ERROR in src/assets/charting_library/charting_library.min.d.ts(1106,61): error TS2536: Type 'T' cannot be used to index type 'SeriesPreferencesMap'.
It can be fixed by setting the TypeScript version to '"~3.7.2"' to match the newer version in udf.To Reproduce
Steps to reproduce the behavior: Follow the steps in the
README.md
in "How to start" to try to start the applicationExpected behavior
The application should start without an error