mirror of
https://github.com/koush/scrypted.git
synced 2026-05-06 14:10:28 +01:00
Fix strictNullChecks in runtime.ts and scrypted-server-main.ts: - Change findPluginDevice return type to PluginDevice | undefined - Add type assertions at call sites that expect valid results - Consolidate assertions at variable declarations - Use undefined! instead of undefined as any - Use throw e instead of throw new Error(e as string) - Add catch block type annotations (e: any) - Fix socket property and plugin device lookups with assertions