A while back we talked about how TypeScript 2.0 made it easier to grab declaration files for your favorite library. Declaration files, if you’re not familiar, are just files that describe the shape of an existing JavaScript codebase to TypeScript. By using declaration files (also called .d.ts files), you can avoid misusing libraries and get things like completions in your editor. As a recap of tha
![Writing Declaration Files for @types - TypeScript](https://cdn-ak-scissors.b.st-hatena.com/image/square/3f7f217856cfbcc7f66ec857ff4225b9f96b62d9/height=288;version=1;width=512/https%3A%2F%2Fdevblogs.microsoft.com%2Ftypescript%2Fwp-content%2Fuploads%2Fsites%2F11%2F2018%2F08%2Ftypescriptfeature.png)