Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    smartclient.d.ts is missing from 13.1 and 14.1 downloads

    Hello,

    TypeScript descriptor file system/development/smartclient.d.ts is missing from SmartClient 13.1 (2025-05-12, PE) and 14.1 (2025-05-12, Evaluation).

    #2
    This should be fixed in builds dated 2025-05-23 and beyond.

    Comment


      #3
      Thanks, the file is there, but syntax is invalid in two places. Errors reported by tsc (5.7.2), run on file from SmartClient_v131p_2025-07-01_PowerEdition:

      Code:
      src/main/webapp/isomorphic/system/development/smartclient.d.ts(2041,169): error TS1016: A required parameter cannot follow an optional parameter.
      src/main/webapp/isomorphic/system/development/smartclient.d.ts(105115,11): error TS2430: Interface 'ResultSet' incorrectly extends interface 'Omit<List, "duplicate">'.
       The types returned by 'sortByProperty(...).duplicate()' are incompatible between these types.

      Comment


        #4
        Hello Isomorphic , can you look into this? I know that this file is incomplete, and is meant only as a partial help for IDEs, but it should at least be syntactically valid.

        Comment


          #5
          In 13.0 (SmartClient_v130p_2025-07-29_PowerEdition) there's another issue:
          Code:
          getFieldState(sparse?:boolean, return:FieldState): void;
          causes:
          Code:
          error TS1390: 'return' is not allowed as a parameter name

          Comment


            #6
            This has been queued for investigation.

            Comment

            Working...
            X