Skip to content

Commit

Permalink
Forgot to add types.py
Browse files Browse the repository at this point in the history
  • Loading branch information
boralyl committed Apr 14, 2020
1 parent 24d2477 commit fb30867
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion custom_components/nintendo_wishlist/types.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Optional
from typing import Any, Dict, Optional

from typing_extensions import TypedDict

Expand All @@ -10,3 +10,8 @@ class SwitchGame(TypedDict):
percent_off: float
sale_price: Optional[str]
title: str


class ResultsDict(TypedDict):
games: Dict[int, SwitchGame]
num_pages: int

0 comments on commit fb30867

Please sign in to comment.