以下のようにObjectに型をtypescriptでつけることがある。これをpythonでも同じようにやりたい。 type ProfileInterface = { name: string title: string email: string } const profile_objects: ProfileInterface = { name: "test", title: "mamushi", email: "test@hoge.com" } from typing import TypedDict class ProfileInterface(TypedDict): name: str title: str email: str profile_objects: ProfileInterface = { "name": "mamushi", "title": "typescript