fix(types): support inferring inject
#12964
+320
−40
Open
inject
#12964