Probably this is an issue of dynamic typing, didn't find exact here in the issues (probably you will point to).
Is it possible to do typing and achieve types flow of such thing:
functiongetProp(prop: string,obj: any){returnobj[prop]} let obj: {id: number}={id: 1}getProp('id',obj).// there should flow number type
Probably this is an issue of dynamic typing, didn't find exact here in the issues (probably you will point to).
Is it possible to do typing and achieve types flow of such thing: