Typescript Method Parameter Object Python Example Main Ideas