Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
systemd: Clean up availableMitigations() caching
Don't put the cache onto the function object, that confuses the type checker. Make it an internal global variable instead. Fixes > pkg/systemd/hwinfo.jsx(133,39): error TS7024: Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions. (There is another instance of this error which the next commit will address).
- Loading branch information