Mod: add type annotations

This commit is contained in:
Toast 2025-05-23 01:42:14 +02:00
parent 0a52a6fcc9
commit de7ebe2e51

View file

@ -1,7 +1,15 @@
import tomlkit
from tomlkit import TOMLDocument
class Mod:
__config: TOMLDocument
__path: str
__name: str
__description: str
__author: str
__enabled: bool
@property
def path(self) -> str:
return self.__path