Refactor WorkerService to allow searchRoutes to be nullable
- Changed searchRoutes property to be of type SearchRoutes | null. - Initialized searchRoutes to null instead of using a temporary type assertion. - Removed conditional setup for searchRoutes in setupRoutes method, as it will be handled after database initialization.
This commit is contained in:
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user