Generator TypeScript

componentDidMount() {
    //initialize datatable
    $(document).ready(function () {
        $('#example').DataTable();
    });
 }
Selfish Stoat