Uploaded image for project: 'Cristal'
  1. Cristal
  2. CRISTAL-647

Activate verbatimModuleSyntax on typescript configuration

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Major
    • 0.22
    • 0.21
    • None
    • Unknown
    • N/A
    • N/A

    Description

      See https://www.typescriptlang.org/tsconfig/#verbatimModuleSyntax

      This option makes the compiler fail when types are imported or exported without being explicitly marked as types.
      This is useful both for developers who can more easily understand what code will be bundled and what is just types.
      In the same way, this is useful for the bundler (Vite) that can more efficiently identify what is actual code to bundle.

      Attachments

        Activity

          People

            mleduc Manuel Leduc
            mleduc Manuel Leduc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: