Add typings to your package.json
{ ... "typings": "path/file.d.ts" ... }
Now when ever that library is imported typescript will load the typings file
Read Articlehttps://develop.horje.com/learn/1434/reference