Good point. Another option for libraries you use less heavily is to only write definitions for the parts of the library you actually use.<p>You&#x27;re not using the entire options parameter or <a href="https:&#x2F;&#x2F;github.com&#x2F;flot&#x2F;flot&#x2F;blob&#x2F;master&#x2F;API.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;flot&#x2F;flot&#x2F;blob&#x2F;master&#x2F;API.md</a> ? Don&#x27;t declare it - only add the properties you do use.<p>You&#x27;re only using 3 methods from 1 class in aws-sdk ? Only declare that 1 class and 3 methods in your aws-sdk.d.ts