I would like that the compilation of my TypeScript application fails if I don\'t have the typings (installed and references in TypeScript files) corresponding to external li
One quick way to make the compiler shut up is to declare the toastr variable as any.
declare toastr: any;