Simple Ideas + Simple Solutions = Innovation

How to Reference DataTables.net in TypeScript Projects

This post will give an example referencing the DataTables.net library in TypeScript projects. The gd-sprest-bs library contains an instance of jQuery for the Bootstrap library. The DataTables.net library references the jQuery global reference, which is not be available based on how webpack bundles the gd-sprest-bs library. We will need to manually set the jQuery reference in the DataTables.net library.

Continue reading →