Announcement

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

    Problem with TypeScript declaration files

    Hello,
    there is an inherent problem in .d.ts file you supply. In some (many?) cases type of properties/parameters are stated to be full object instead of partial object. Example:

    SelectItem, property pickListProperties is stated to be isc.ListGrid while it obviously should be Partial<isc.ListGrid>
    DaraSource, method processResponse, dsResponse is stated to be DSResponse, while it should be Partial<DSResponse> (because we only required to pass JSON with clientContext set, not an instantiated instance of DSResponse class)

    There are many more examples of this deficiency. This greatly affects our ability to write proper code in TypeScript working with SmartClient.

    #2
    Hello Isomorphic,
    can you please respond to this request?

    Comment

    Working...
    X