Module Plugin or UMD Plugin

Module Plugin or UMD Plugin

A module plugin changes the shape of another module (either UMD or module). For example, in Moment.js, moment-range adds a new range method to the moment object.

For the purposes of writing a declaration file, you’ll write the same code whether the module being changed is a plain module or UMD module.

doc_TypeScript
2016-10-04 19:25:25
Comments
Leave a Comment

Please login to continue.