Unplanned
Last Updated: 07 Jun 2023 21:32 by Marcus
Oscar Meszar
Created on: 27 Apr 2016 17:47
Type: Feature Request
17
TypeScript definitions for the HTML5 Viewer Report
It will be nice to have a proper (Official) TypeScript definition for the HTML5 Report Viewer. 
6 comments
Marcus
Posted on: 07 Jun 2023 21:32
There is the types for the viewer sort of available on that angular package but there is still no type for the viewer ref were you see things like `viewer.commands` yet there is no declaration of any object with `commands` or `refreshReport` things that are on the ref.
Hans
Posted on: 02 May 2019 11:27
Would be great to have TypeScript definitions for the ReportViewer as you have for all other widgets in your .NET Core package of JQuery widgets (ex. Grid, Editor etc.).
ADMIN
Nasko
Posted on: 08 Feb 2018 08:16
Hi Vernon,

Thank you for the provided feedback. We would be more than happy to include any reasonable suggestions and modifications into the official Angular package. This will also make upgrading to a newer version of the package easier for you since you won't need to apply your changes to each new version.
Please share any specific ideas and code with us so we can make the product better. You can do this by opening a new support ticket where we can exchange information and also award points to your Telerik account for helping us improve our product.
Ian
Posted on: 08 Feb 2018 06:25
I've just gone to fetch the definition from your Angular package.  They're not that well done and don't cover much of the API surface at all.
It'd be *very* helpful to have this documented properly.  Definite up vote from me!

In the meantime I'm fleshing out my own ones.  If they end up being any good is there a problem with sharing them publicly?
Oscar Meszar
Posted on: 27 Jun 2017 12:49
Thanks Atanas, it is good to see some advances on this. Of course, your message is over a year since I first submitted my original message :)
ADMIN
Nasko
Posted on: 27 Jun 2017 12:01
Hi Oscar,

Currently, there is a minimal TypeScript definition file which we use internally and distribute with our Angular Report Viewer package. You can find this file inside the corresponding package folder in node_modules after installing the package. We consider this as a feature request, so I've updated its status to "Approved". If there is demand, we will extend the current definition file.

Regards,
Atanas
Reporting Team