Fix invalid type references for inferencing.
Fix invalid type references for inferencing.

kyawzinsoe/scripted,sirspock/scripted_token,scripted-editor/scripted,sirspock/scripted_token,scripted-editor/scripted,kyawzinsoe/scripted,kyawzinsoe/scripted,scripted-editor/scripted