Skip to content

Fix optional values in generated typescript classes #6

Closed

Description

@DanTup

Currently we need to provide all properties when creating instances of types. TypeScript doesn't seem to allow class-level fields to be optional so need to see what the options are (properties instead of fields? constructors?). Example here.

Activity

  1. added
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Aug 4, 2016
  2. added this to the milestone on Aug 4, 2016
  3. added and removed
    is enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
    on Aug 4, 2016
  4. modified the milestones: v1.0, on Aug 11, 2016
  5. DanTup commented on Aug 11, 2016

    @DanTup
    MemberAuthor

    This appears to not be possible without constructors etc. (and the sample links here was bad, that's an VSCode class, not one of ours!).

  6. added a commit that references this issue on Aug 11, 2016
  7. removed this from the milestone on Aug 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions