code: def testTypedDictReturnAnnotation_Variant(self):
      def func() -> TypedDict("SimpleOutput", {"x": int}):
          return {"x": 42}
  
      parsed = parse_typehint_component_function(func)
      self.assertEqual(
          parsed.outputs, {"x": standard_artifacts.Integer}
      )
  
imports: from typing import Dict, List, Optional, TypedDict, Union
  import apache_beam
  import tensorflow
  from tfx.dsl.component.experimental.annotations import BeamComponentParameter
  from tfx.dsl.component.experimental.annotations import InputArtifact
  from tfx.dsl.component.experimental.annotations import OutputArtifact
  from tfx.dsl.component.experimental.annotations import OutputDict
  from tfx.dsl.component.experimental.annotations import Parameter
  from tfx.dsl.component.experimental.function_parser import parse_typehint_component_function
  from tfx.dsl.component.experimental.utils import ArgFormats
  from tfx.types import standard_artifacts
label_desc: Use image node_id 9 for calling the FunctionParserTest obj's underlying member method code with example usage: obj.testTypedDictReturnAnnotation_Variant() and returns: dict