File size: 323 Bytes
9c5ffc0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from __future__ import annotations

from typing import TYPE_CHECKING

if TYPE_CHECKING:
    from typing import Callable

    def on_ui_settings(callback: Callable):
        pass

    def on_after_component(callback: Callable):
        pass

else:
    from modules.script_callbacks import on_after_component, on_ui_settings