> My primary interest here would be to do something similar to what Isaac was > suggesting: have a separate "header file" (prolly header-file-per-plugin) > that describes the API of the plugin using a typed description language. > Then make use of that typed information in various ways.
FWIW, the Typescript dist contains said header file for NodeJS and jQuery. I do believe they had to be hand authored. (ugh)