View Issue Details

IDProjectCategoryView StatusLast Update
0019015MMW 5Help / Docs / Localizationpublic2022-04-25 17:49
Reporterdrakinite Assigned To 
PrioritynormalSeveritytweakReproducibilityN/A
Status newResolutionopen 
Product Version5.0.3 
Target Version5.0.4 
Summary0019015: Introduce TypeScript documentation modules (*.d.ts) to assist addon developers
DescriptionAdding TypeScript documentation modules will help developers because modern web IDEs can utilize them to add IntelliSense/code completion.

We can add a "typescript" folder to the MM5 install root which includes all the .d.ts files for controls, window, and native objects. It'll be a long task to complete but probably worth it in the end.
TagsNo tags attached.
Fixed in build

Activities

drakinite

2022-04-25 17:49

developer   ~0067773

Note: There are a few cases where we need to add checks whether a certain element is an HTMLElement (via elem instanceof HTMLElement) and not just a Node. For example, doing setVisibility() on a childNode could possibly return an error if the childNode is actually just a text node.