salesforce / tough-cookie

RFC6265 Cookies and CookieJar for Node.js
BSD 3-Clause "New" or "Revised" License
964 stars 207 forks source link

Use latest TypeScript version #423

Closed wjhsf closed 3 months ago

wjhsf commented 3 months ago

Now that we're a TypeScript project, changing TypeScript version is a breaking change. We only get one TypeScript version per major release, so we should use the latest version, rather than the version that was current when we started moving to TypeScript ages ago.

Code change is a linter fix, I guess due to better type detection.