mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
This is as much as we can do until pydcs actually adds the py.typed file. Once that's added there are a few ugly monkey patching corners that will just need `# type: ignore` for now, but we can't pre-add those since we have mypy warning us about superfluous ignore comments.
10 lines
162 B
Python
10 lines
162 B
Python
from typing import Protocol
|
|
|
|
from dcs import Point
|
|
|
|
|
|
class Positioned(Protocol):
|
|
@property
|
|
def position(self) -> Point:
|
|
raise NotImplementedError
|