How do we implement comments in TypeScript so intellisense sees them -
we love typescript. makes our lives easier. intellisense part empowered web essentials.
i'm not shure how implement correctly.
we use comments like:
/** function returns current user */
it shows when typing in typescript file references .ts file declares comment.
but comment 'maintainselection' option not show up
/** cttgrid options */ export interface cttgridoptions extends kendo.ui.gridoptions { /** true - rows scrolled out of view maintained */ maintainselection: boolean; }
...
var activiteiteningrid : kendowrappers.cttgrid = $('#werkpakketactiviteiteningrid').kendocttgrid ({ navigatable: true, pageable: false, sortable: true, groupable: true, resizable: true, filterable: true, selectable: 'multiple', maintainselection: true, scrollable: { virtual: true }, editable: "incell", columns: activiteitencolumns }).data('kendocttgrid');
now when hover mouse on 'maintainselection' option says it's boolean comment not show up. recognizes options interface description forgets comment. there way make comments show in intellisense too?
regards paul
Comments
Post a Comment