Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #19294 Prevent warning with type-only imports of Shortcut and ShortcutsGroup types
    Infos
    #19294
    Camille Croquet (camille.croquet)
    2021-02-11 10:13
    2021-02-11 09:59
    20875
    Details
    Prevent warning with type-only imports of Shortcut and ShortcutsGroup types
    A warning is triggered when running `npm run watch` in plugins that use the Shortcut and ShortcutsGroup interfaces (Documents and TestManagement for now). This is caused by the import of type-only file `src/scripts/keyboard-navigation/type.ts`.

    The `import type` and `export type` TypeScript syntax prevents this issue : https://www.typescriptlang.org/docs/handbook/modules.html#importing-types
    Other
    12.4
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Camille Croquet (camille.croquet)
    Closed
    2021-02-11
    Attachments
    Empty
    References
    Referenced by request #19294

    Follow-ups

    User avatar
    Joris MASSON (jmasson)2021-02-11 10:13
    gerrit #21740 integrated in Tuleap 12.5.99.61

    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2021-02-11
    • Is an Enhancement or an internal improvement? set to internal improvement