首页 > TAG信息列表 > PartOfWindow
[Typescript] Pick partially object type with indexed access types
type PartOfWindow = { [Key in | "document" | "navigator" | "setTimeout"]: Window[Key] } /* type PartOfWindow = { document: Document; navigator: Navigator; setTimeout: (handler: TimerHandler,