A discussion on using JavaScript just to improve HTML page graphics in server-based applications, and some tips on how to do it, may be found in this article on my blog: http://www.dotnet-programming.com/post/2013/12/10/JavaScript-Intensive-Web-Applications-2-Enhancing-Html-with-JavaScript.aspx. The Writing declaration files section just describe the syntax of declaration files. Tips and techniques for generating declaration files of existing libraries may be found in the TypeScript official documentation here: https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html.
The ECMAScript proposal for modules' dynamic import can be found here: https://github.com/tc39/proposal-dynamic-import. More information on the whole TC39 committee and process can be found here: https://www.ecma-international.org/memento/tc39-m.htm.
This chapter just...