模拟 vue3.0 rfcs `createComponent` api 中的`props`类型推导
rfc中类型推导部分TypeInference预期想实现的效果createComponent({props:{foo:{type:String,required:true},bar:{type:Number},boo:Boolean,options:(nullasany)as{msg:string},requiredOptions:{type:(nullasany)as{msg:string},r