SFP-172: fixed factory type definitions. Now extension developers won't need to specify
the API types for onAction method when using Panel/Modal/AsyncPanel factories.
SFP-172: fixed problem with renderElementAsReact type definitions when using additional props.