GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — type infer from generic function · Issue #32170 · microsoft/TypeScript Closed Labels QuestionAn issue which isn't directly actionable in codeAn issue which isn't directly actionable in code DescriptionTypeScript Version: 3.5.1-3.5.2 Search Terms: Code type genericProps<T> = { abcId: string count: number flag: boolean className?: string as?: T } declare function genericFC<T>(props: genericProps<T>): any type test<T> = typeof genericFC extends <T>(props: infer P) => any ? P : never Expected behavior: Actual behavior: Playground Link: link Related Issues: Activity
MetadataMetadataAssigneesLabelsQuestionAn issue which isn't directly actionable in codeAn issue which isn't directly actionable in code TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |