Skip to content

Commit

Permalink
Merge pull request #12 from ar90n/feature/remove-boundary-of-state
Browse files Browse the repository at this point in the history
feat: Remove type boundary of state
  • Loading branch information
ar90n authored Apr 24, 2022
2 parents 2be82c1 + 7f2a45d commit 0ec93d6
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions alfort/app.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
from abc import abstractmethod
from dataclasses import dataclass, replace
from itertools import zip_longest
from typing import (
Any,
Callable,
Generic,
List,
Mapping,
Optional,
Tuple,
TypeAlias,
TypeVar,
Union,
)
from typing import Callable, Generic, List, Optional, Tuple, TypeAlias, TypeVar, Union

from alfort.vdom import (
Element,
Expand All @@ -29,7 +18,7 @@

T = TypeVar("T")
N = TypeVar("N", bound=Node)
S = TypeVar("S", bound=Mapping[str, Any])
S = TypeVar("S")
M = TypeVar("M")

Dispatch: TypeAlias = Callable[[M], None]
Expand Down

0 comments on commit 0ec93d6

Please sign in to comment.