Home / CSE MCQs / TypeScript :: Discussion

Discussion :: TypeScript

  1. Which statements are true regarding JSX modes?
  2. A.
    These modes only affect the emit stage - type checking is unaffected
    B.
    The output of react mode will have a .jsx file extension
    C.
    The react mode will emit React.addElement
    D.
    The preserve mode will keep the JSX as part of the output to be further consumed by another transform step

    View Answer

    Workspace

    Answer : Option D

    Explanation :



Be The First To Comment