Skip to content

Commit f62ae08

Browse files
committed
!squash more
1 parent 5d45156 commit f62ae08

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tests/fixtures/pluginsystem/partials/test_plugin_helpers.py

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
1+
import typing as t
12
from typing import Iterable, Mapping, Union
23

34
from tmuxp.plugin import TmuxpPlugin
45

56

7+
class Config(t.TypedDict):
8+
tmux_version: t.Optional[str]
9+
tmuxp_version: t.Optional[str]
10+
libtmux_version: t.Optional[str]
11+
12+
613
class MyTestTmuxpPlugin(TmuxpPlugin):
7-
def __init__(self, config: Mapping[str, Union[str, Iterable[str]]]) -> None:
14+
def __init__(self, config: Config) -> None:
815
assert isinstance(config, dict)
916
tmux_version = config.pop("tmux_version", None)
1017
libtmux_version = config.pop("libtmux_version", None)

0 commit comments

Comments
 (0)