fix(audit): P2 frontend any→concrete types (181→61), heroicons→lucide-react, missing type exports, toast API, Select options, TaskStatus types; P2-9 hooks.py type annotations
This commit is contained in:
+2
-2
@@ -50,8 +50,8 @@ class HookRegistry:
|
||||
def __new__(cls) -> HookRegistry:
|
||||
if cls._instance is None:
|
||||
cls._instance = super().__new__(cls)
|
||||
cls._instance._actions: dict[str, list[tuple[int, Callable]]] = defaultdict(list)
|
||||
cls._instance._filters: dict[str, list[tuple[int, Callable]]] = defaultdict(list)
|
||||
cls._instance._actions: dict[str, list[tuple[int, Callable, str]]] = defaultdict(list)
|
||||
cls._instance._filters: dict[str, list[tuple[int, Callable, str]]] = defaultdict(list)
|
||||
return cls._instance
|
||||
|
||||
# ─── Registration ───
|
||||
|
||||
Reference in New Issue
Block a user