8 lines
293 B
TypeScript
8 lines
293 B
TypeScript
// Repro from #8801
|
|
|
|
function alert(s: string) {}
|
|
|
|
const parameterFn = (props:{store:string}) => alert(props.store)
|
|
const brokenFunction = <OwnProps>(f: (p: {dispatch: number} & OwnProps) => void) => (o: OwnProps) => o
|
|
export const Form3 = brokenFunction(parameterFn)({store: "hello"})
|