Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Type annotations / Typescript as a feature request
Qt 6.11 is out! See what's new in the release blog

Type annotations / Typescript as a feature request

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 473 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RudolphSnoflakes991
    wrote on last edited by
    #1

    Is this the right place to make a feature request for QML/Javascript ?
    Is there a way to place type annotations and strip them at runtime please or make the engine ignore them or...?
    And of course could the typescript -> js compiler and checker be called before deployments?

    It seems kind of related, would this be a separate topic:
    Is there a way to generate .d.ts typedefs for the generated JS?
    Typescript as output has been requested before: https://forum.qt.io/topic/134444/webassembly-typescript-support, but using .d.ts files as a place for typedefs seems standard for Typescript and this specific point seems to not have been raised.
    Kind of old, but maybe still relevant: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/2781

    jsulmJ 1 Reply Last reply
    0
    • R RudolphSnoflakes991

      Is this the right place to make a feature request for QML/Javascript ?
      Is there a way to place type annotations and strip them at runtime please or make the engine ignore them or...?
      And of course could the typescript -> js compiler and checker be called before deployments?

      It seems kind of related, would this be a separate topic:
      Is there a way to generate .d.ts typedefs for the generated JS?
      Typescript as output has been requested before: https://forum.qt.io/topic/134444/webassembly-typescript-support, but using .d.ts files as a place for typedefs seems standard for Typescript and this specific point seems to not have been raised.
      Kind of old, but maybe still relevant: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/2781

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @RudolphSnoflakes991 said in Type annotations / Typescript as a feature request:

      Is this the right place to make a feature request for QML/Javascript ?

      No, this is user forum.
      For bugs and change request you should use https://bugreports.qt.io/secure/Dashboard.jspa

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      R 1 Reply Last reply
      0
      • jsulmJ jsulm

        @RudolphSnoflakes991 said in Type annotations / Typescript as a feature request:

        Is this the right place to make a feature request for QML/Javascript ?

        No, this is user forum.
        For bugs and change request you should use https://bugreports.qt.io/secure/Dashboard.jspa

        R Offline
        R Offline
        RudolphSnoflakes991
        wrote on last edited by
        #3

        @jsulm That makes sense! Also, you are damn fast, thank you for reviewing my message!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved