koush / scrypted

Scrypted is a high performance video integration and automation platform
https://scrypted.app
Other
3.9k stars 237 forks source link

Enable TypeScript strict for packages/auth-fetch #1493

Closed longzheng closed 4 weeks ago

longzheng commented 1 month ago

Adding tsconfig.json strict: true to packages/auth-fetch

I had to tweak the types of server/src/fetch/index.ts and server/src/fetch/http-fetch.ts since packages/auth-fetch/src/auth-fetch.ts was calling functions with undefined values.